# Questions tagged [plotting]

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

15,613 questions
Filter by
Sorted by
Tagged with
36 views

### Density Plot Not Printing The Entire Range

I have a density function running on a piecewise function. When I plot the x range for full 0 to 1, the upper right corner color range doesn't print, but it works when I plot the x range for that ...
158 views

### Add marks in multiple functions in Plot

I am looking for any options to draw 2D plot of differently marked curves for given functions, thus one can distinguish it by the provided legend. For instance: ...
379 views

### How to change Callout leader size in Plot?

Take this example: Plot[Callout[Sin[x], Sin[x], Above], {x, 0, Pi}] Question: How can I change the length of the line connecting the $\sin(x)$ label with the ...
39 views

### LeaderSize has no effect on Callout in Plot

I was trying to change the position and distance from the plot of a label generated using Callout. The following code specifies different ...
35 views

### Getting frequency domain data from time domain using Fourier transformation [duplicate]

I have a dataset following cosine function [e.g. cos(200t)] in time domain. In frequency domain two sharp lines should appear at -200 and +200. I have to do Fourier transform (or Fast Fourier ...
63 views

### How to find the difference between two plots?

I have the following analytical plot. ...
39 views

### The plot doesn't show up when I use Plot3D

In Mathematica help all the examples are given in a way that the function is written like: Plot3D[{x^2 + y^2, -x^2 - y^2}, {x, -2, 2}, {y, -2, 2}] I have a code that is huge and the function that I ...
4k views

### FrameTicks and Ticks on Axes in Same Plot

I have a plot where I would like ticks shown on both the axes and the frame, with them labeled separately. I have custom labels for the frame and want the horizontal axis labeled with ticks ...
48 views

### How can I use Frame and axes on the same plot?

It is necessary to display the Frame (in the left edge of the plot) and usual axes (in the bottom) in the same plot. Mathematica doesn't support this feature as discussed earlier. But there is a ...
59 views

...
57 views

### FontSlant plain mode not working

Whenever I have subscripts in my labels, the FontSlant seems to change to italic. I want the plain style, even for legends. How to fix it? ...
121 views

### How can I zoom in on a specific region?

I made this plot with Mathematica but it's hard to see the region around the cirtial point -1 + 0j. Is there any way to zoom the region? ...
24 views

...
80 views

### Trying to plot the Fourier transform solution to the heat equation on Mathematica [closed]

I have gotten the solution of the heat equation as where f(y) is the initial heat distribution which I have been given as f(x) = e^([Sigma]x^2). I am supposed to plot this at the value of sigma 1, 2 ...
467 views

### ContourPlot with BarLegend: vector format export problem

I have a couture plot which I want to export in vector format (e.g.PDF) and use in my latex. The example code from here: ...
1 vote
69 views

### Subtract ParametricRegions from each other

I have 2 surfaces defined parametrically that overlap. I want to subtract the helical surface from the cylindrical surface to obtain a mesh of just the blue surface in the image. The parameter bounds ...
62 views

### How to plot the respective electric field oscillations within an ultrashort pulse envelope if given a spectrum in wavelength?

I'm trying to reconstruct the electric field oscillations of an ultrashort pulse from experimental spectrum data readout [600nm to 1100nm]. I have successfully written the codes to convert the ...
206 views

### To get rid of "double lines" [closed]

I have the following code: ...
192 views

### Display Table output as a grid of points

I want to create a Grid or Plot (or equivalent) from the following Table: ...
81 views

...
167 views

### Modify the color scale in ColorFunction

I'm trying to get the following intensity map with the same style and colors But the closest I got was using SolarColors in Mathematica ...
1 vote
71 views

### Modify the size of vectors in vectorplot3D

I'm trying to plot in the neighborhood of the origin and I can't change the shape and size of the arrows. What I need is to be sure whether or not the solutions are attracted to the line that goes ...
50 views

### Creating a 3D Plot with Colored Lines from 2D Data Sets with Color Labels

I got the following table of my data:Amplitudes at each site for different t1-values and energy eigenvalues]1 and I am trying to plot the amplitudes at each site for every t1-value such that a 3Dplot ...
60 views

### Normalizing a plot by introducing a variable

I am trying to plot the graph between P and x. My teacher wants me to normalize this graph by introducing a constant $k$ to get $P/k^2$ on the y-axis and $xk$ on the x-axis. I did that by doing a ...
1 vote
162 views

### How to plot correct empirical distribution?

I have data that represents number of values in intervals. So, I have intervals like: [0,1], [1,2], [2,3] and so on. My data is [23,11,3], which means in interval [0,1] there are 23 values, inside [1,...
45 views

### Show the translated version of a plot alongside another graphics object

I want to demonstrate the fact that the main part of a Mandelbrot fractal is consisted of a cardioid and some circles. So at first, I wrote this line: ...
93 views

### Change of variable of a numerically solved integral

I have the following function that numerically integrates a function on the interval $\left[ 2, 100 \right]$ ...
82 views

### ListVectorPlot3D not plotting anything nor giving any error, just empty 3D axes

It's as simple as the title says. My code is: ...
1 vote
81 views

133 views

### How to speed up this integration?

I try to evaluate this integral: ...
71 views

### Any idea why my Manipulate[ParametricPlot] isn't showing anything [duplicate]

[ As you can see on the attached screenshots I tried to make it work multiple times, but it shows nothing. Any idea?
123 views

### Plotting Two ListDensityPlot3D Plots Together

I would like to plot two ListDensityPlot3D plots in the same plot. My two data sets are intersecting, and I would like to see that the two shapes intersect. However, when I plot them only one is ...
382 views

### Plot a one-dimensional list of numbers as a column/row of labeled colored squares

I have a list of numbers and a matching list of labels. I want to plot a column of colored squares, with the color of each square matching (in some color scale) the value of the corresponding number. ...
59 views

### Plotting list of points to a special graph

Given Mathematica code of eigenvalues in different variable-paths , I want to add experimental data in the path Gamma-X ; X-Gamma ; and M-Gamma . Here is the code : ...
1 vote
40 views

### Adjusting thickness of lines in PlotLegends?

I have the following plot: ...
1 vote
193 views

### Log scale for ListContourPlot when the axes have different orders of magnitude

I am trying to plot a data set (download here) in Mathematica (it's 3.9 MB and I wasn't sure how to best share it) which I then want to visualize with ...
80 views

### Why can't I combine these two plots? [closed]

I have the data ...
53 views

### How can you plot a function that contains a sum that depends on the explicit variable of the function?

I am trying to plot the following function in Mathematica $$f(\beta)=\frac{a^2}{2}\sum_{N} \left[N^2 \frac{e^\frac{-\beta a^2 N^2}{2}}{\sum_N e^{-\frac{\beta a^2 N^2}{2}}} \right]$$ My Mathematica ...