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

learn more… | top users | synonyms (4)

9
votes
2answers
277 views

Using map projections with astronomical data

I noticed that all important "Geoprojections" are available in projections for a spherical reference models: GeoProjectionData function; 1 - I am trying using the sinusoidal projection for ...
2
votes
1answer
46 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: ...
2
votes
4answers
168 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. ...
0
votes
1answer
111 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
56 views

Correcting a gap in ListPlot

This is a small sample of my data ...
6
votes
0answers
73 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 ...
0
votes
0answers
28 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. ...
2
votes
3answers
129 views

Custom Grid Lines for ProbabilityScalePlot

I'm plotting up some data using a ProbabilityScalePlot in Mathematica 8. It currently looks like so: Code: ...
0
votes
1answer
54 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
76 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, ...
0
votes
1answer
32 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 ...
1
vote
2answers
74 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? ...
1
vote
1answer
43 views

VectorFieldPlot Assumptions - restricted domain

I would like to plot the 2-D vector field: VectorFieldPlot[{ x/Sqrt[x^2 + y^2], y/Sqrt[x^2 + y^2]}, {x, -5, 5}, {y, -5, 5} ] but I encounter zero division at ...
0
votes
1answer
100 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
59 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
1answer
51 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
60 views

How to simulate Placed in workaround for PlotLegends ParametricPlot bug?

I'd like Legended output for call like: ...
11
votes
1answer
216 views

Filling to Axis as Arrow

In version 9 I could do the following with the output as shown. ...
2
votes
3answers
198 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
65 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 ...
0
votes
2answers
63 views

How to create a custom filling with ListPlot

We have the following simple example ...
1
vote
1answer
56 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 ...
3
votes
1answer
78 views

The default ColorFunction of DensityPlot before v10?

The default ColorFunction of Plot, Plot3D before v10 is respectively mentioned here and ...
2
votes
1answer
102 views

Rasterized density plot with vector axes

I'm wondering if there is an easy way to get the plot below exported in a small pdf? The plot below is made in the following steps: step 1: Create a streamplot step 2: Create a densityplot, where ...
0
votes
1answer
75 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?
6
votes
0answers
96 views

One less arrow vector than asked for

Bug introduced in v10 Consider the following code: ...
0
votes
2answers
81 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
60 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 ...
6
votes
2answers
189 views

VectorScale Explanation

I'm having great difficulty understanding VectorScale. Here are the definitions from the documentation. With the explicit specification ...
0
votes
1answer
55 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 ...
6
votes
3answers
143 views

How to speed up the plotting of B-spline curve?

Three months ago, I asked a quesion about B-Spline basis function here, Today, I used this function to plot B-spline curve. The definition of $N_{i,p}$ ...
0
votes
2answers
166 views

Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. However, the contour plot I need to ...
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
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
1answer
125 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 ...
2
votes
3answers
141 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 ...
3
votes
2answers
484 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
63 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?
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 ...
0
votes
1answer
43 views

Plot of the set complex numbers [duplicate]

I want to show this set (eigenvalues of my matrix): ...
5
votes
1answer
187 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 ?
8
votes
3answers
137 views

Multiple bwspec for BoxWhiskerChart

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

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

I was trying to show a feasible region with these lines: ...
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
179 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]; ...
0
votes
2answers
105 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 ...