# Questions tagged [plotting]

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

15,949 questions
Filter by
Sorted by
Tagged with
157 views

### How to force LineLegend to be independent from the plot

I want to design the plot legends independent of the plot style I use in ListLinePlot. So I do: ...
1 vote
60 views

### Plotting the logarithm of bin counts with Histogram3D [closed]

I am using Histogram3D to plot 2d data. Sometimes with Histogram I use double logarithmic axis to view e.g. power laws, using ...
1k views

### Mathematica values new list

I have a list: ...
50 views

### HeatMap visualization (ListDensityPlot)

I have two sets of values, e1 = {0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8} and ...
368 views

### How can I draw a random thickness curve?

As we know that add weight factors to Tube, we can get variety thickness tube. I want to know how to do the same thing directly in 2D graph instead of only a 3D ...
127 views

### How can I add a marker or meshpoint to the start and end of a ListLinePlot or DateListPlot

How can I add a marker or meshpoint to the start and end of a line in ListLinePlot or DateListPlot? I would like to be able ...
336 views

...
166 views

### How to get exact $\LaTeX$ colours in Mathematica?

In Latex, using the following code before \begin{document}, one can define different colours as in the shared images. ...
1 vote
102 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 ...
116 views

### Manipulating a list to make it nested

I have a long list, where the elements are of this kind {x,y,g,a1,a2,a3} and I want to extract some sublists with which I can make plots or manipulate the elements. ...
92 views

### Plotting different plot in a single grid frame without combining them

We can show the plot together, but how do we show different plots in the same grid frame without combining them? I have tried the GraphicsColumn and it shows the ...
190 views

### Curve fitting with Mathematica

I am trying to find de parametric equations of this curve (the curve in that sector of circle): What I've tried: ...
152 views

### Filling two colors when one curve is above or below the other

Let's plot two functions $2e^{-\pi x^2}$ and $e^{-x}$ and fill the area between two curves with two colors depending on the sign of their difference. However, the following code does not work: ...
46 views

### Ensemble averaging with non-identical (time) stamps

I have data which could be interpreted as time series, but with non-identical time stamps. Their format is: ...
377 views

### Alternate two colour in concentric circles

This code gives me two sets of concentric circles with respective radii of 2n and 2n-1: ...
1 vote
221 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,...
274 views

### How to effectively guess the initial values for a Poincaré section?

I have the following code, which plots the Poincaré section for the trajectory of particles around a symmetric black hole: ...
94 views

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

It's as simple as the title says. My code is: ...
336 views

### Can we emulate Paul Henry's drawing machine?

Desmond Paul Henry Desmond Paul Henry $(1921-2004)$ was a Manchester University Lecturer and Reader in Philosophy. He was one of the British pioneers of Computer Art. Henry with Drawing Machine 2, ...
366 views

### Plotting lists, exact color values

I read some descriptions of similar problems but I cannot make them work in my example, I don't know why. I have list of 3 dim values to plot: x, ...
1 vote
214 views

### ListLogPlot for positive and negative values

I am trying to plot the following set of points on Mathematica: ...
329 views

### Creating a 3D Gradient Vector Field Plot in Mathematica

I am new to Mathematica and currently learning how to visualize mathematical functions and their gradients. I am trying to reproduce a specific image that illustrates the gradient of a two-variable ...
3k views

### Plot Two Circles and Color Their Difference

I am trying to plot two circles with a radius of $1$ and another with a radius of $9$. Both are centered at $(0,-1)$. I then want to color in the distance between the circle of radius 9 and the circle ...
479 views

### Apply ColorData scheme for Plot from green to red

I'd like to apply a ColorData to this plot: ...
627 views

### How to fill a specific region in a plot?

I am having trouble filling a particular region in a plot. I am trying to use Mathematica to plot the same image I linked below, and this is ok (except for all the numbers/letters labelling but this ...
187 views

### How to increase height of square brackets in legend label?

I'd like the square brackets to be taller in the following legend label, so that they extend as high as the 6 in $10^6$. The most success I've had is by using MaTeX, but I'd prefer a built-in solution,...
48 views

### Please help to use ContourPlot for the locus (y - x^2) (y - 2 x^2) == 0. If I build the expression by hand, it shows nothing

My code is as follows: ...
401 views

### Recreating map from Wolfram|Alpha with GeoGraphics

I have tried to create a map using GeoGraphics, and I have not been able to get one with the same quality as the result Wolfram|Alpha gave me. ...
97 views

### Alternative Representation for Energy Levels and Energy Level Density (II)

Following my previous question, I want a graph that must look like this (the lower image is taken from the Wikipedia page for the Microcanonocal Ensemble-->> Quantum Mechanical), The code for ...
496 views

### Borromean rings [closed]

how can I plot the Borromean rings in Mathematica? I am interested in the configuration showcased in figure.
1 vote
137 views

### Unexpected output in ContourPlot

ContourPlot[Boole[(Im[x+ I y]!=0&&Re[x+I y]<=-1)||Re[x+I y]>-1],{x,-5,1},{y,-5,5}, PlotPoints->200] shows two white lines, the horizontal ray from ...
77 views

### "Callout" label changes plot range

I'm noticing that using Callout seems to override the PlotRange option of Plot, increasing ...
86 views

### Alternative Representation for Energy Levels and Energy Level Density

I need to show the energy level density around the local maximum of this double-well potential. I can do it using the following: ...
176 views

### How to plot the sum of this function series?

Let us consider the sum of a function series $$\sum _{n=1}^{\infty } \frac{z^n}{\left(z^n+1\right)^n}.$$ This series absolutely converges if Abs[z] < 1 or ...
72 views

### Why does ListDensityPlot give different profiles for the same data when x and y data excluded?

I have data of the form $\{x,y,z\}$, and ListDensityPlot gives different profiles if we exclude $x$ and $y$ points. Here is an example ...
428 views

### Voronoi diagram of two data sets

My primary data is ...
210 views

This code: ...
534 views

### How to remove artefacts in Plot3D?

Consider the following code Plot3D[ArcTan[x/y] + ArcTan[y/x], {x, -1, 1}, {y, -1, 1}] Is it possible to remove the "dragging" artefacts observed at the ...
60 views

### How to make a secondary top frame for a function?

I want to make a plot with two x-axes, one on the bottom and another on the top, where the variables are different but the function is the same. For instance, let f = y(a,b). How can I have in the ...
2k views

### How can I plot a loxodrome?

Can someone show me how to plot a rhumb line (loxodrome) in Mathematica via the ParametricPlot3D function? Here is what I got so far: ...
336 views

### How can I create a mesh of closed shape?

I have this hexagon that defined according to these points ...
69 views

### Why does the Tooltip fail on last data point when "None" is used twice?

The following code produces a ListPlot correctly, except that the tooltip does not work for the last data point. ...
115 views

### How to make moving point and moving circle play automatically?The locus of points is hyperbolic?

How to make moving point and moving circle play automatically? The last question is that the trajectory of the moving point is ellipse. The trajectory of this moving point is hyperbolic. It is known ...
438 views

...
744 views

### How to fill the first region enclosed by a self-intersecting parametric curve?

For an arbitrary self-intersecting parametric curve, how to construct the region at its first intersection. Thanks! ...
925 views

### How to separate the regions enclosed by curves

There are three arbitrary curves that defined by three implicit functions. How to separate the 12 regions(one of them is the outside infinite region) Although we can use image methods to distinguish ...
166 views

### Plotting Intersection Points Between 3+ Lines

For a personal project involving a coordinate system for navigating the galaxy using 36/38 equidistant points around a circle, I need to find all intersections between 3+ lines using 3 pairs of points ...
1 vote
150 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 ...
I am using the general form of a second-degree plane curve: $$Ax^2+2Bxy + Cy^2+2Dx + 2Ey + F = 0$$ I want to randomly generate plane curves of this form, so I am using ...