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

learn more… | top users | synonyms (6)

1
vote
1answer
64 views

Possible to dynamically redraw single plot of multiple shown together?

I am attempting to create a tool to visualize gradient, eigenvector, and eigenvalue information for a 2D surface. I want to show a contour plot of an inputted function and overlay the gradient and ...
6
votes
3answers
226 views

FontSize problematic when used in LabelStyle

Bug introduced in 9.0.0 and persisting through 10.0.2 or later Consider the following few examples, each producing a trivial graphic object: ...
2
votes
4answers
236 views

PlotRange, polar plots and labelling

I have a dataset (of DNA reads corresponding to the human mitochondrial DNA) which I want to plot on a polar plot, with the distance corresponding to the G-C percentage of the DNA in that segment. ...
6
votes
1answer
136 views

What are the arguments supplied to ColorFunction in MandelbrotSetPlot?

On the document of MandelbrotSetPlot, it said: With ColorFunction->f, where f is a function, the argument of f is a real number in proportional to the number of ...
2
votes
1answer
81 views

Epilog does not work as expected with Show [duplicate]

I was trying to answer this question (here) and I found that I can't use Epilog with Show. consider this Example: ...
0
votes
1answer
336 views

Export graphic as Pdf gives incorrect font size [duplicate]

In Mathematica 10.0.2 I have this plot: Now, when I export as pdf, I have these huge fonts. Any workaround?
0
votes
1answer
67 views
7
votes
0answers
94 views

ListPlot3D. Only plots about half of the data in a 3D matrix

Here is the data and the exact command I'm trying to run. I've had success with other datasets generated and written out to a file by the exact same program in the exact same manner but for some ...
3
votes
2answers
78 views

Forward function arguments to built-in Plot[]

Suppose I need to write a function to plot the real and imaginary part of some function (just an example). I want to define a function foo so that ...
0
votes
0answers
31 views

ErrorBarFunction styles [duplicate]

I am having trouble making sense of the help I have found for the ErrorBarFunction command. I am looking for basic instructions on how to change the width, style, and color of my error bars. ...
0
votes
1answer
62 views

Why does `Table` returns values but `Plot` doesn't plot them?

The Table function works fine and return a nice list of values ...
0
votes
2answers
119 views

How to contourplot a function defined via findroot? [duplicate]

when I use contourplot, the system will simplify the expression first with its parameters holded. However some expressions can not be simplified first without inputting parameters, for example, ...
4
votes
3answers
381 views

How can I make an linear breakdown chart similar to those seen on iCloud? [duplicate]

How can I make a interval breakdown chart like this: Update: I checked BarChart and Gauge they do not have this capacity.
1
vote
2answers
114 views

Plotting solutions to ODE for continuously varying parameters

I am trying to plot the solution of an ODE with continuously varying one of its three parameters. (I just fixed two of them for simplicity.) Any suggestions? ...
0
votes
1answer
33 views

New output cell generated for each run of a GraphicsGrid - is there a way to simply update the same output cell each run?

I have a Code cell that generates a set of plots in a GraphicsGrid[]. Each time I execute the Code cell, a new Output cell is generated. Is there a way to simply update a single output cell instead ...
0
votes
1answer
118 views

Writing a Code to plot a function that includes a double integral [closed]

I am trying to write a code in Mathematica. Here are my steps: F[u_] = Some nontrivial and long expression in terms of u; Umax[x_, y_] = Some expression in terms of x and y; W[x_, y_] := integral ...
1
vote
1answer
73 views

How can I plot a 3D graph that shows how a histogram varies with a particular parameter?

How can I plot a 3D graph that shows how a histogram varies with a particular parameter? A simple example of this would be plotting a histogram of data described by a gaussian. The gaussian is of ...
2
votes
2answers
282 views

How to show surfaces as a implicit plot in 3d?

I was trying to show a feasible region with these lines: ...
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
167 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
109 views
1
vote
0answers
40 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
67 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
86 views
12
votes
1answer
256 views

Filling to Axis as Arrow

In version 9 I could do the following with the output as shown. ...
2
votes
1answer
85 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 ...
3
votes
3answers
390 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
124 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
89 views
1
vote
2answers
148 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
82 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 ...
0
votes
1answer
87 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
96 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
94 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
63 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
175 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 ...
0
votes
0answers
82 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
552 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 ...
0
votes
0answers
119 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
202 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
258 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
54 views

Plot of the set complex numbers [duplicate]

I want to show this set (eigenvalues of my matrix): ...
1
vote
0answers
108 views

ListPlot3D keeps crashing

I have some data, and I want to plot it by ListPlot3D: ...
1
vote
1answer
86 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 ...
14
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
180 views

Multiple bwspec for BoxWhiskerChart

If I want to make a horizontal boxplot (with outliers) for y: ...
4
votes
2answers
296 views

How to plot an implicit value funtion

Previous question has been solved (Gap in a continuous plot). Here is a new related question. ...