# Questions tagged [plotting]

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

9,896 questions
2answers
49 views

### Automatically Trimming Noisy Experimental Data and Extrapolating It

I have experimental data which looks something like this I first want to remove the outlier points which are at quite high value such as around x= -10,000 etc, how to automatically trim these points....
0answers
31 views

### Please help with the graph,

PLease see what the problem is to get the graph?? Impossible to get the graph. ...
1answer
54 views

### How to switch off the Mesh on an ellipsoidal RegionPlot3D?

I want to draw 3D ellipsoids, the simplest of which is RegionPlot3D[Ellipsoid[{0, 0, 0}, IdentityMatrix], Mesh -> None] How can I switch off the black mesh?...
0answers
30 views

### Solving and plotting nonlinear system of differential equations [on hold]

I cannot get the graph of the system of differential equations below, can you help please?? ...
2answers
44 views

### Problem with step response of state space model

I have a continuous state space model for dc motor. I get a wrong step response when I use continuous model and I get the right response when I discretize the model using a different method. Can ...
1answer
57 views

### Combining two plots at a common x-axis

I want to combine a Plot and a ListPlot at their common x-axis. Here's an example of what I've got so far: ...
9answers
40k views

### 1 Plot, 2 Scale/Axis

I would like to plot those two datasets on top of each other. But they have very different range on the $y$ axis. How can I have two different axis? I found the following on the help menu but quite ...
1answer
28 views

### How can I set the coordinate interval in DensityPlot?

I want to plot 100 points in a density plot, but don't know how to set the interval of the x and y range. My code is: ...
1answer
48 views

### How to plot this system of equations? [on hold]

How to plot this system of equations? This do not work:
1answer
60 views

### How to make axes appear when using Show to combine plots?

The following code results in coordinate axes not showing up. I'd like to understand why that happens and how to fix it. Ideally, there's a way to do it so that I can set the image size and axis ...
1answer
60 views

### How to plot two or more equations simultaneously? [on hold]

I have this two equations, and I want to solve them in a graphical way. So, -I'm thinking- how can I plot them at the same time?
2answers
51 views

### How can I get the color 'black,grey and white' in Mathematica? [on hold]

I'm drawing a density plot,and I used the command of 'ColorFunction',but failed to get the color 'black,grey and white' as the paper.The pictures are as follows:
1answer
33 views

### ListLinePlot/ListPlot: How to center the ticks on the steps in the plot?

I am plotting xy-data using ListLinePlot with option InterpolationOrder->0 to get a step-like output. Now, the ticks are aligned to the rising part of the step (...
2answers
376 views

### Styling polar axes in PolarPlot

You can style the axes in Plot with AxesStyle. For example, the following code makes the axes red. ...
1answer
19 views

### LegendMarkerSize not recognized in ListPlot for Mathematica 10

I'm trying to put a legend on a plot done using ListPlot ...
2answers
439 views

### Two discrete colors for surface with ParametricPlot3D

I am trying to create a plot of a surface that is yellow above the xy-plane (z>0), but blue below (z<0). My first attempt was to use ...
4answers
280 views

### Piecewise ColorFunction fails

I have Mathematica 10.3, and when I run ...
1answer
45 views

...
2answers
394 views

### How to plot a surface from a system of equations? [duplicate]

It seems like a natural thing to do, however I can't seem to find anything on the docs nor here on SE. What I'd like to plot is the locus of solutions to a system of (polynomial) equations, e.g. \...
0answers
25 views

### Combine BarChart and TimeLinePlot

I have a Barchart like this: ...
0answers
33 views

### How to construct rectangular figures from the Fibonacci numbers and the accompanying golden spiral? [duplicate]

t's quiet different from this link How to construct rectangular figures from the Fibonacci numbers? i already get the rectangular form, but it's quite different from the picture below..it's hard for ...
4answers
67 views

### How to “cache” function values to pass to ListPlot?

I have a function which is very expensive to run. I would like to Plot the function for a certain range, but it is time prohibitive to let Plot simply compute the function for a lot of values as it ...
0answers
28 views

### RegionPlot with FindMaximum

I don't understand why each time I'm launching this computation Mathematica buggs and I get a message from Windows that the Kernel stopped working... I'm trying to get a map of where the value of ...
0answers
57 views

0answers
13 views

### SystemException[“MemoryAllocationFailure”] with long evaluation involving FindRoot

I had earlier posted my code in a previous question, but I am reposting my code here: ...
0answers
34 views

...
0answers
22 views

### DateListPlot show point with a thin bar

I have a list of date points and I want to show each point with a single verticle line that connects the point with the x-axis. I imagine that the solution should be the same as for a ListPlot.
1answer
45 views

### Generate this contour plot

I have the following complex function: ...
1answer
59 views

### Mittag-Leffler function [closed]

What is the command to plot the Mittag-Leffler function in 3D by using Mathematica program? I have tried the command Plot3D[mittagLefflerE[v,t],{t,0,5}] , ...
0answers
17 views

### Revolution Issues

I'm trying to plot a surface of revolution but somehow when I do it the ends get cut off. Is there something wrong with my code? The graph looks fine when i graph it on a 2d plane.
0answers
20 views

### Plotting a circle in a piecewise function for a surface of revolution [closed]

I've been using Mathematica for a calculus project where I need to create a surface of revolution and print it out. Unfortunately, I can't seem to be able to insert a circle (that contains more than ...
1answer
28 views

### Circle Equation isn't plotting — [closed]

I have a circle square root equation but Mathematica is not recognizing it. I need it in a piecewise function and while the other parts graph out correctly, this one does plot at all. Thanks!
0answers
25 views

### How can I exclude a point from a Region Plot? [duplicate]

I want to exclude the point {0,0} from: RegionPlot[0 < x^2 + (y^2)/4 <= 1 , {x, 2, -2}, {y, 2, -2}]
2answers
44 views

### Finding positive region of continous function

I want to find (and plot) the positive region (within a certain domain say x<3,y<3) of a function ...
1answer
122 views

### Create a Venn diagram showing the relations of three sets of quantum states [closed]

I've determined a number of probabilities pertaining to three subsets of the "magic simplex" of quantum states described in https://arxiv.org/abs/1212.5046, and certainly would like to have a ...
1answer
93 views

### How to integrate this function?

How can I perform the following integral? ...
0answers
25 views

### Fixing the plot region absolutely

I have seen many posts where people are asking to scale the plot region with another plot, especially for when people are using side-by-side plots. Is it possible to set the plot region absolutely. ...
0answers
23 views

### RegionPlot fails

Consider a function f[x_,y_]:=NIntegrate[g[x,y,z],{z,1.1*x,3000}] where g[x,y,z] is some function. The function f[x,y] is smooth and works perfectly when Plot it....
1answer
33 views

### Having trouble plotting a logarithmic equation

I want to plot these two logarithmic equations: $\log_{10}x^2 = 6$ $10^{\log_{10}x^2} = 10^6$ $x^2 = 10^6$ $x=\pm 10^3$ This is my code for trying to plot this: ...
1answer
27 views

### How to plot for imported data while performing some operations on different columns?

I have imported an Excel file, then I did multiplied different numbers with different columns; ...
2answers
1k views

Consider: ...
1answer
48 views

### Plotting a transcendental equation [duplicate]

I would like to get this graphic: from this article. Here $\kappa$ and $\varepsilon_{dd}$ are related by: ...
2answers
107 views

### How to show that $f(z) = z^2 + 1$ intersects the line through the roots of $f(z) = 0$ in ComplexPlot3D?

I have plotted the complex function $f(z) = z^2+1$ by using the following code: ComplexPlot3D[z^2+1, {z, -5 - 5 I, 5 + 5 I}] However, I want to show that $z^2+1$ intersects the line $\Re(z) = 0$. ...
1answer
35 views

### How do I evaluate “If” statement inside PlotLabel? [closed]

I have an experimental function that is dependent on x and y [f(x,y)=Sin(ax/by)]. I am trying to make a 3D plot of f using the manipulate function so that I can easily input measured values of ...