# Questions tagged [plotting]

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

15,606 questions
Filter by
Sorted by
Tagged with
154 views

### Multiple numeric integration with function in integration limits

My problem is $\int_{0}^\pi\int_{0}^{1}\int_{0}^{\sqrt{2f(x)}} q^{2}\sin(\theta) F(q,\theta,p)\eta(f(x)-q^2/2)dqd\theta dx$, I'm trying to plot this over $p$. Function $F$ is a monster, let us ...
83 views

### How to adjust the cell size to the frame of a plot?

I have this Mathematica code to plot two histograms and their PDF fits, ...
57 views

### Controlling the aspect ratio when DataRange values are different scales

The Task Create a ListContourPlot with custom data range and frame labels. Attempt at a Solution First generate some data: ...
487 views

### Evaluate@Table in a Plot can be accessed in another plot?

r1 = Plot[Evaluate@Table[xl[j, k, 0], {k, .01, 1, .1}], {j, 3/32, 2}, PlotRange -> {{3/32, 2}, {.4, 4}}, AxesOrigin -> {3/32, .4}] plots for me the ...
283 views

### Non-proper clipping at PlotRange edge

cross posted on community.wolfram.com I've noticed that in some situations the clipping is not done properly, despite the explicit setting PlotRangeClipping->True: So I plot some complex function: <...
109 views

### Contour plots for functions with flat regions

I'm playing around with some optimization functions and contour plot seems to be not very informative (full notebook here ). Any suggestions how to make them more visually informative? ...
1k views

### How do I make 4D plot in Mathematica from Excel data with two different graphical representation?

I have some experimental data in excel format containing 50 rows and 4 columns (x, y, z, A). I want to first import the excel file into mathematica and then make TWO different plots simultaneously and ...
29 views

### Why these functions have the same color? [duplicate]

I have this code f[x_, n_] := Sum[ComplexExpand@Abs[Sin[x + k]], {k, 0, n}] Plot[Table[f[x, n], {n, 0, 5}], {x, -Pi, Pi}] but the graph is all of the same color ...
180 views

### Plotting detail in 3D ListDensityPlots

I'm plotting densities of simulated eruptions. I have an issue that the high density at the top and bottom of the plot blocks out any detail in the middle of the plot (where the interesting stuff is ...
38 views

### Weird behavior to plot a set of functions [duplicate]

I have this code, totally functional ...
113 views

### Plotting 3D graphic for a differential system with Manipulate

I try to adapt the following code with three differential equations to a system with four differential equations. My aim is to see a bifurcation in this differential system by looking at three ...
182 views

### How do I generate legends for Plot[.] objects in Mathematica 8 [duplicate]

I have an old version of Mathematica 8 and can only find information for #>9 I need to label multiple curves in a Plot[.] function with legends to the side of the graph. Your answer needs to be as ...
128 views

### How can I improve the code for contour plot of the real part of $f(z)=\frac{1}{z}$? [closed]

I try to plot level curves of the real part of the complex function $f(z)=\frac{1}{z}$ with ... 68 views

### Plotting 3x3 until some points left out

I am to plot a bunch of numbers in a 3 by 3 manner. However, some has 35 data line so when my code goes up to loop number 11 -> i.e. number of data plotted is 33, there is 2 remaining. I wanted it ...
1k views

### Adding a colorbar legend to a matrix plot [duplicate]

Looking for the option to add a colorbar legend to the right of a matrix plot: ...
159 views

### How do I create this graph to show a whole sphere spiral and not just half? [duplicate]

This is what I am inputting into Mathematica and I can only see the top half of the spherical spiral ...
118 views

### "Density contour plot"—plot solution surface using color

I would like to plot the solution of an equation in three variables via a color map, thus combining the functions of ContourPlot3D and DensityPlot. That is, I have a plot of the form ...
344 views

### Export transparent PNG does not work in v11

Below is the simple command I used: Export["TransparentCircle.png", Graphics[Circle[]], Background -> None] The png is not transparent in Mathematica v11, but ...
200 views

### FrameLabel that combines some text and some sub and superscripts [duplicate]

I need to add a FrameLabel that is "Mass lost, M_l [10^-3 kg]". I would like to have "l" as a subscript to M and "-3" as a superscript to 10.
194 views

28 views

### Increasing length of an arrow in 3D plot [duplicate]

Initially, I have: a = Plot3D[x^2, {x, 0, 2}, {y, 0, 2}, PlotRange -> {{0, 2}, {0, 2}, {0, 5}}]; Show[a, Graphics3D[Arrow[{{0, 1, 0}, {0, 1, 4}}]]] To ...
105 views

### Plots shrink after closing and opening the notebook

I find that every time after I save a notebook and then close and reopen it, the plots and figures will shrink in size compared to the original ones I saved. Is there any way to fix the sizes? Thanks. ...
43 views

### Warnings when plotting in ContourPlot a function defined as the solution of FindRoot

I am trying to plot implicitly a transcendental equation where one of the parameters (lambda) is given by another transcendental equation which, in this case, I can solve. Therefore, I defined lambda ...
76 views

Equations: ...
101 views

### Generating Covariance plot

... 172 views

### Plotting: substitute before evaluation

When plotting, the Mathematica seems to substitute the value of the variable only after evaluating the plotted function. To use a simple example where I'm trying to examine how changing certain ...
86 views

### ParametricRegion3D is not working well

I am trying to define a region along a space curve where I will display the vector field. My space curve is obtained by numerical integration and defined by Interpolating functions. It is hard to post ...
78 views

### How Mathematica chooses PlotRange value?

I mean, how Mathematica decides where to clip plot for functions Tan[x], 1/x and likes? Are there some conditions on derivative behaviour, or just absolute value of y-coordinate? I compared this with ...
56 views

### Differential Eqns for Rocket Projectile - Help needed! [duplicate]

I have to model a rocket projectile and, although I understand the question, I can't get the code to work in Mathematica. Here is the question: A rocket with a unit mass is fired from the ground ...
165 views

### Combining multiple ListPlot with different abscissas

I have a complicated function and my computer crashes when I try to plot it using ListPlot from 0 to 30. So what I want to do is instead of plotting the function from 0 to 30, I cut it into segments,...
406 views

### Plot symbolically in mathematica

I want to know is it possible to plot symbolically ? for example I need to plot this function symbolically(where a>0 and c>b and and b>0) ...