Tagged Questions

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

116 views

Plotting direction fields along with trajectories

I am reading "Dynamics and Bifurcations" by Hale and Kocac, and in chapter one the following diagram is shown: Question is, how can I achieve the same plot using Mathematica? I've tried ...
283 views

I'm trying to reproduce the following plots: As described by this blog entry: Synchrotron radiation As you can see in the linked article, the task is essentially to make a ...
86 views

plot filling using blend and y value

I want to plot say Sin(x) with colorfilling. but I want the colour to be a gradient between white and red. When Abs[sin(x)] is maximum I want white, when its minimum I want the filling to be red. In ...
118 views

DateListPlot not showing any ticks

With a vector dates (in DateList format), and a vector data that has the same length as dates...
564 views

Plotting NIntegrate

Plot[E^(-0.5 x) NIntegrate[Cos[t] E^(Cos[t] + 0.5 t), {t, 0, x}], {x, 0, 40}] Mathematica evaluates this integral for each point, which takes a long time. It is ...
139 views

Switching to CloudObjectPrivate

I shut Mathematica done, then restart it. The image shows all that I do. I have done nothing else. Can anyone explain what is happening to me? The complete code is: ...
233 views

Scatter plot from two lists with BarLegend

I have two lists listx = {}; Do[x = RandomReal[{0, 1}]; AppendTo[listx, x], {1000}]; listy = {}; Do[y = RandomReal[{0, 10}]; AppendTo[listy, y], {1000}]; I can ...
154 views

How to change the direction of increasing x in a plot [duplicate]

Consider the data set data = Table[{10^-k, 10^(-2 k)}, {k, 5}] and the plot: ListLogLogPlot[data] My goal is to reverse ...
97 views

Variable ViewPoint coordinates [duplicate]

Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example: ...
94 views

Does DynamicModule cure Problem with Manipulate?

Hopefully, this is a final cure for the Problem with Manipulate introduced on A problem with Manipulate and then continued on Continuation of a Problem with Manipulate. Michael E2 suggested on the ...
104 views

Plotting a Forced Vibration Differential Equation [closed]

I'm attempting to plot a differential equation solution but mathematica is giving me trouble. The plot is showing up blank. Here is what I have. ...
257 views

How can I monitor the progress of a Plot?

The answer in How to monitor the progress of a plot is not useful in my case. I am using ...
117 views

Plotting ListLinePlots together creating a 3D view

I have a *.xlsx file containing four columns, each pair representing an x and y value, so (...
184 views

Axis alignment identical to matlab plots

Mathematica uses in my opinion a weird concept of camera alignment. I would like to align the axes in Mathematica in the same way how Matlab does. For example, in the following picture you see a ...
96 views

Want to add a legend to 3D plot made by combining three plots with Show

I have this code: ...
169 views

How can I customize the tooltips on a ContourPlot?

I have a contour plot and I would like to have finer control over the tooltips that are displayed. For the sake of argument, suppose that I have the following plot, ...
301 views

How can I make Plot show the plot while it's computing it?

Normally, Plot acts like a black box and only gives you the requested plot once it has finished computing it. However it can be useful, other than interesting, to ...
65 views

Graphing a function with specified input domains

My goal is to plot the function $f(x)=x^2-2$ where $x$ is a positive rational. It seems Mathematica assumes one always wants to plot a function for real inputs (and correspondent restrictions on the ...
142 views

I have: ...
536 views

How to find max difference with the same x between two functions?

For example, I have function TF[y_] = 2 / Pi * ArcSin[y] And I have CDF: ...
123 views

Manipulate - 3 sliders for a list of 3 elements [closed]

I'm trying to create a slider for a list of 3 elements. I know that I can create a 2D slider for a list of 2 elements and it's impossible to create a 3D slider for a list of 3 elements. So, I just ...
217 views

How to hide and show graphics within Show (in Manipulate)

There is a well documented way to "Dynamically Hide and Show Plots" (link). In the example 'Opacity' option is effectively used. Is there an efficient way to make the same functionality with "Show"? I ...
183 views

...
68 views

Forcing a locator button to remain on the surface of a sphere

This question may or may not be possible and might be a hard one to answer. Suppose that I have a sphere centered at the point (1,2,-1) with radius 3. Is it possible to place a locator button on the ...
118 views

Changing from Dashed to Solid

I have: Graphics[{ Blue, Thick, Arrow[{{0, 0}, f1}], Arrow[{{0, 0}, f2}], Red, Arrow[{{0, 0}, f1 + f2}], Dashed, Blue, Line[{{-9, 0}, {12, 0}}] }] ...
167 views

Why doesn't Plot draw function within prescribed range?

I have a function: TheoreticalFunction[x_] = 2 / Pi * ArcSin[x] And trying to plot its derivative: ...
65 views

How can I plot the complex formula as follow? [closed]

I try for this ... I want to see the result like this ...
122 views

Rotate a region about z-azis [duplicate]

I learned how to do this: ...
198 views

Mathematica's ViewPoint versus MATLAB's View command

Here is a bit of code borrowed from Parametrize a circle as a tube?. ...
208 views

Parametrize a circle as a tube?

I have this code: ...
130 views

Encapsulated plot function misbehaves

To insure a collection of plots has identical appearance, the plot command is encapsulated in a function. The results are undesirable. The fiducial plot is ...
458 views

Plotting a Hill function [closed]

I've Just recently gotten this program and cant plot this function, F(X)=1/(1+(X/K)^n) for X=0 to 4 nmol/m^3, K=1 nmol/m^3, F(X)= 0 to 1, and n=1,2,4,8,16 Now I know how to specify the limits and ...
317 views

Generate a list of equations of curves and plot them

I want to plot a series of lines. This is how I did it: ...
401 views

Fitting data to plot using errors as weights [closed]

I have some enzyme kinetics data that I want to fit to the Michaelis-Menten curve in order to obtain the kinetic parameters of the enzyme. Is it meaningful, statistically and functionally speaking, ...
644 views

ListPlot and filling between curves

I have a simple question. Why is Filling not working in the following? ...
155 views

Scaling vectors in an animated vector field [duplicate]

I want to animate a VectorPlot3D. But, Mathematica rescales the vectors in every frame. Can you scale them all to one fix point? For example, scale the vectors on ...
113 views

When plot a list, how to Manipulate a sequence of defined functions at the same time?

I am trying to plot a sequence of functions, for example{(a+b)^i},{i,1,100}. All the expressions I have stored in the list. Now I want to plot them and see how their value would change if I change ...
83 views

How to shorten/simplify my plotting code

Is there a way to simplify and shorten my code? ...
97 views

Problem with plotting data (.csv)

I have a problem with plotting the data of a recent experiment. I'm quite new to Mathematica, but searched the documentation and forums without solving my issue. My data is stored in a .csv document, ...
152 views

Plot ParametricNDSolve

I am trying to plot the probability of a molecule being in a certain state via the numerical solution of the Schrödinger's equation of molecule in an oscillating electric field (in a rotating system). ...
126 views

Equation solution using minimization

I have an equation F[x,y]=0. I need to plot y as a function of x. Due to the properties of ...
226 views

96 views

Plotting datasets using ErrorListPlot

I am trying to make list plots with the ErrorListPlot function. I have two datasets (ds1 and ds2) of which one plots nicely (ds1) and the other just give blank plots. I cannot see any difference in ...
118 views

Combine 2 plots in one [closed]

$f: R^2 -> R,$ $f(x,y)=x²-y²$ ...
318 views

How to plot an implicit function; how to plot contours of a surface

How can I plot the circle $(x-4)^2 +(y-4)^2 = 4$ and two level curves of $f(x,y)=x^3 + y^3 - 3xy$ on Mathematica. I have tried using the ContourPlot command. Can ...
88 views

I guess this has already be answered. Plot[1/(x^3 - 2 x^2), {x, -2, 4}, Exclusions -> True] Plot[1/(x^3 - 2 x^2), {x, -2, 4}, Exclusions -> 2] I cannot ...
158 views

Plotting the solution of a cubic equation against a coefficient in the equation

I have to plot the solution of the following equation against the coefficient $L$. Since it's a cubic equation, I'd like to filter out the real solution first and plot that then. The equation is \$L r^...