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

learn more… | top users | synonyms (4)

16
votes
3answers
1k views

Get x and z coordinate from an image and make a parametric surface

In this blog entry, this step is mentioned: I grabbed an image of a Peugeot wine glass from the web and used the Get Coordinates function to digitize its outline, which I fed to Interpolation to ...
4
votes
2answers
121 views

How can I use legend in ContourPlot3D and add arrowheads for axis?

I am using ContourPlot3D to show two surfaces. This is my code. Now I want to use Legend to distinguish the two surfaces, and add arrowhead for the three axis. ...
2
votes
0answers
101 views
1
vote
0answers
39 views

Join a surface and a density plot [duplicate]

My question is if it's possible to do something like this with Mathematica: I know that it is possible to plot a surface with Plot3D and a 2D plot with DensityPlot, so I was wondering how to join ...
2
votes
1answer
50 views

How to apply a transformation to a grid?

I would like to apply a coordinate transformation, visualised as an action on a two-dimensional grid like The particular example above is $$x^\mu \mapsto \frac{x^\mu - b^\mu x^2}{1-b\cdot x+ b^2 ...
2
votes
1answer
56 views
11
votes
1answer
214 views

Filling to Axis as Arrow

In version 9 I could do the following with the output as shown. ...
2
votes
1answer
64 views

ListContourPlot: Not all labels are shown

I am trying to create a contour plot for the data I have, and I want to show all the labels on the plot but I am getting only 3 labels using ContourLabels, how can ...
2
votes
3answers
191 views

Using DiscretePlot to graph the Riemann sum of a parabola

I want to graph the Riemann sum (upper sum) of $y=x^2$ with $1\leq x\leq 4$ using 6 rectangles. I want the rectangles to be green. On the Wolfram Mathworld website, I can render exactly what I want ...
2
votes
1answer
111 views

Dynamic overlay of graphics and plot while maintaining uniform coordinates [closed]

I have a plot and a graphic that I want to overlay onto one another while retaining a uniform sense of coordinates throughout the whole thing. I have tried to do this two ways and both suffer from ...
0
votes
2answers
61 views
1
vote
2answers
129 views

Intersection with FindInstance

How to find individual root parameters pair ( t, T) to find curve intersections using FindInstance? Hopefully it would output two, instead of 6 pairs in the following: ...
1
vote
1answer
55 views

ListPlot3D with the color choosen from another list [closed]

I have a data set for doing a ListPlot3D in the required format as data={{x1,y1,z1},{x2,y2,z2}......{xN,yN,zN}}. I also have another list with N values ...
6
votes
0answers
96 views

One less arrow vector than asked for

Bug introduced in v10 Consider the following code: ...
3
votes
1answer
77 views

The default ColorFunction of DensityPlot before v10?

The default ColorFunction of Plot, Plot3D before v10 is respectively mentioned here and ...
3
votes
0answers
61 views

Kernel sometimes quit after second evaluation of ListVectorPlot

But introduced in 10.0.0 and persisting through 10.0.2 or later In Mathematica 10.01 Linux x386 execution of the expression ...
0
votes
1answer
74 views

Plotting y'[x] vs y[x] [closed]

I solved a differential equation numerically and I want to Plot y'[x] vs. y[x], but I don't know how. what is the command?
0
votes
2answers
79 views

NDSolve ensemble of initial points

I want to illustrate how the differential equation depends on the initial conditions. First if all differential equations: ...
2
votes
0answers
59 views

PlotRange->Automatic the exact function used to calculate outliers

I know that PlotRange->Automatic does the following: "the distribution of coordinate values is found, and any points sufficiently far out in the distribution ...
0
votes
1answer
54 views

Weird Vectorplot

I would like to Plot a simple Vector Field, all vectors normalized to one. If i for example take a evenly distributed sample of the field and plot it with the ListVectorPlot function, i get a plot ...
3
votes
1answer
121 views

How can I combine two color schemes for plotting?

I want to use ListContourPlot to display all negative values using one colorscheme and all positive values using another color scheme. This question Define a color function using Piecewise gives some ...
1
vote
2answers
104 views

Plot a bunch of lines in 3D from point data

I have a 12*25 array, wherein each entry is of the form $\{x,y,z\}$. So 12 different $x$ values, 25 different $y$ values and 12*15 $z$ values in all. I'd like to plot 12 curves of various $x$ values ...
0
votes
0answers
52 views

Change ParametricPlot3D tick labels and origin

I have very complicated task, I'm trying to plot electron wavefunctions. As you see, I've managed to do it, except few things: how do I change tick labels of 10^-8 meters to nanometers? how do I ...
3
votes
2answers
482 views

Color a Function by its Derivative

Mathematica's ColorFunction seems to struggle with coloring a function "y" by its derivative D[y,x]. This is a seemingly simple task, but Mathematica can't handle it. While I can certainly evaluate ...
1
vote
2answers
183 views
0
votes
0answers
60 views

Extracting coordinates from 3D plots

Is there any possibility to extract the coordinates of a point (x,y,z) from a 3D plot in Mathematica with the cursor? What can be done for this purpose?
2
votes
2answers
176 views

Speed up ContourPlot

I created the following code, but the contours are drawn slowly with the movement of the slider, could you advise me how I should optimize the code? ...
5
votes
1answer
186 views

VectorPlot3D - vectors starting at points

Normally the vectors in VectorPlot3D ar attached the middle. How to get them attached at the beginning (what is typical conventions in most textbooks) by use of VectorPlot3D ?
0
votes
1answer
43 views

Plot of the set complex numbers [duplicate]

I want to show this set (eigenvalues of my matrix): ...
1
vote
1answer
82 views

Maximum but still limited magnitude region is not plotted with ContourPlot [duplicate]

The function is well defined in the whole region. But it just skips plotting the center region. I've tried PlotPoints, Mesh, Contours - it didn't help. After making more contours. White hole is ...
11
votes
1answer
2k views

Logarithmic scale in a DensityPlot and its legend

I was recently faced with the task of creating a DensityPlot with a logarithmic colour scale, and with providing it with an appropriate legend. Since I could not find any resources to this effect on ...
8
votes
3answers
131 views

Multiple bwspec for BoxWhiskerChart

If I want to make a horizontal boxplot (with outliers) for y: ...
4
votes
1answer
192 views

Missing tick in plot

update Still have problem in version 10.0.2 Consider this ...
4
votes
2answers
260 views

How to plot an implicit value funtion

Previous question has been solved (Gap in a continuous plot). Here is a new related question. ...
1
vote
1answer
63 views

How to convert cumulative to incremental for plot

Trying to show a plot of a power function $Y = a X^b$, where $Y$ is cumulative cost and $X$ is cumulative shipments where we'd like to see the incremental cost. For $X_1$ the cost is $Y_1$, for $X2$ ...
6
votes
2answers
178 views

How to make a “flat” plot (or a grid of 2 plots) of 3 variables in Mathematica (sample picture attached)

Is it possible to plot that kind of graph in Mathematica? (picture attached) If yes, it can be used to visualise a simple "balance system" of the form: X = f[e]; ...
4
votes
2answers
305 views

Awful styling in MMA10's Plot

Switching to MMA10, I'd want to produce a plot using this code: ...
1
vote
2answers
189 views

3D plot of two spheres with constraint

I intended to plot two 3D volumes of two spheres, each centered around $(x_0,y_0,z_0)$ and $(x_1,y_1,z_1)$, respectively. Here the reference points must be selected as $x_0+y_0+z_0=1$ and ...
0
votes
2answers
103 views

Ploting a topology that accepts saddle point in 3 dimensional plot [closed]

In order to visualize a saddle point, a common example given by Wikipedia is $z=x^2-y^2$. Plot3D[x^2 - y^2, {x, -5, 5}, {y, -5, 5}] I would like to have a 3d ...
3
votes
1answer
87 views

LogLogPlot plugs in zero

Bug introduced in 10.0.1 or 10.0.0 and resolved in 10.0.2 In testing the answers to Plot result of non analytical-integral in V10.0.1, I came across this behavior of ...
9
votes
4answers
2k views

How to plot periodic function's graphic?

How to plot periodic function's graphic? For example, f(t) = t when -5<t<5 && f(t+10) = f(t) ...
4
votes
2answers
183 views

Embedded Graphics: General Relativity

Is there a way to make the following graph with two dimples? Like the central indent and another indent to the side to simulate a central mass like the sun and another smaller mass like the Earth in ...
2
votes
2answers
167 views

Plot result of non analytical-integral

I have the following function: h = 1; c = 1; k = 1; B2 = (2*h*c^2)/(x^5 (Exp[(h*c)/(x*k*T)] - 1)); (someone can see that this integral is the Planck function). ...
1
vote
1answer
229 views

Showing separate surfaces

The XYZPipeJunction is removed using circular trig functions from Both. ...
1
vote
1answer
99 views

How to apply two kinds of Plot styles in single graph

My version is 9.0 I want to apply ColorData and Line Width styles at the same time, like the ColorTheme Function new in 10.0, but there is always errors. Codes under here: ...
30
votes
2answers
1k views

Sketch-type graphics with transparency and dashed hidden lines?

I'd like to create transparent graphs like the following from P1095, Calculus 6th Ed, by James Stewart. Can Mathematica accomplish this? By "transparent," I mean the ability to see the interior, ...
2
votes
2answers
89 views

Trouble implementing a SOFM (Self Organizing Feature Map) [closed]

I have been given some Mathematica code to use to implement a 3x3 SOFM and see how it changes when I alter 2 variables, lambda and gamma. This is my first time using mathematica so I am a bit confused ...
-5
votes
1answer
57 views

Plot 2 student T distributions with different center values

Plot 2 student T distributions with different center values µ, but same DOF. The center values,µ has to be 45 and 48, DOF shall be 9.