# Tagged Questions

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

378 views

### BarChart that lines up with dates in DateListPlot

I am trying to create a chart similar to the view offered by TradingChart, but with custom data not relating to finance. ...
2k views

### add a color bar legend to a 3D plot

This has a connection to the previous post here: puzzled with a color function Also, a recent post of mine appeared here: Create a color bar plot legend but I should have solved the problem with the ...
79 views

### Unexpected behaviour plotting a PDE solution

I'm solving some coupled PDEs (Eb1 and Ef1) and what I plot for Eb1 appears to be correct. However, for some reason, when I go to plot Ef1, I get nothing. MWE is below (beginning is constants and ...
416 views

### Using a complicated function as color function

I have an ellipsoid with parametric equations lst = {10*Cos[u]*Sin[v], 3*Sin[u]*Sin[v], 2*Cos[v]}; I define a function ...
100 views

### How to avoid plotting lines not defined in a Which function? [duplicate]

How to avoid plotting lines not defined in a Which function? ...
115 views

Given that ...
234 views

### Liouville theorem demonstration

My goal is to create a demonstration of the Liouville theorem in 2D phase space. I made up an interesting potential energy function $U(x) = (x-4)x^3 + 27$, so that the minimal energy of system is ...
848 views

### Create a colorbar plot legend

I have the following list of parametric equations lst = {10*Cos[u]*Sin[v], 3*Sin[u]*Sin[v], 2*Cos[v]}; I define the following color function ...
533 views

...
494 views

### How to plot small values

I wonder, why small values (eg. 10^-1600) would not show on a plot? Here is a small example, where Evaluate gives a list of very small values and Plot does not show them, starting from x=20. ...
294 views

### Connect each point in the plot with all adjacent points

I have the following simple code. I need to connect each point in the plot with all adjacent points in vertical or horizontal line. ...
20 views

### Manipulate Tutorials? [duplicate]

I am wanting to combine equations with sets of static data points in a manipulate and do the curve fitting by moving the slider bars on my independent variables. The best examples of this art may be ...
150 views

### Cannot plot a list in ListPlot3D

I have this data files: ...
374 views

### How to show the intersection points of three functions?

How can I show the intersection points of three functions in my Plot? I really can't figure it out. ...
114 views

### Combining list x-y data with a list of errobars into one list (mathematica-style)

Suppose I have a list of data I can ListPlot: { {x1,y1}, ... } , and a list of y-errorbars: {erry1, erry2, ... } Is there ...
63 views

### Graphics elements in a 2D lattice [duplicate]

I'm trying to write a small piece of code that will take the RHS of a first order linear ODE and return a slope field sampled at a few points. I have written: ...
859 views

### “not a list of numbers” and “cannot be used for replacing ” [duplicate]

I am trying to plot a function which is based on the solution of some equation; I could get the correct figure but only after lots of warnings are printed out. The following is a minimum version of ...
68 views

### Saving many plots in files [duplicate]

I made a table of ten plots: Table[Plot[u[t, x] /. wws, {x, -10, 10}], {t, 0, 10, 1}] I want to save them all to my file system. I know, that I can save each ...
2k views

### How to add PlotLegends in a Show function?

I have multiple ListPlot in a Show where i want to add PlotLegends, but adding the PlotLegend...
156 views

### Unexpected Plot3D behaviour

The following illustrates what appears to be an incorrect Plot3D for this polynomial. I have forced the function to complex argument, changed ranges. In contrast, <...
287 views

### How to plot on a symmetric axis/frame

Say one had a function that was itself asymmetric about the abscissa, but one desired to plot it on a symmetric ordinate. How can this be achieved with Plot ...
932 views

### Specifying non-conflicting PlotTheme options

A bug or limitation in 10.0.0 affects a few of these examples; it was resolved in 10.1.0. I am trying out Mathematica 10 on https://programming.wolframcloud.com. ...
238 views

### Combining ArrayPlot and Plot

I have two plots. plot1 is a colour graph generated using ArrayPlot. plot2 is a function plotted using Plot. I want to do two things. Scale the axes of plot1 to be the same as plot2 (instead ...
276 views

### Chart with its ticks in geometric progression

I have to render a chart with an axis that has ticks with the following values: 250, 500, 1000, 2000, 4000, 8000 I first thought it was a logarithmic scale. But ...
41 views

### How to move the axes back in Plot? [duplicate]

I'd like to draw some curves using Plot, and I tried follow codes: ...
590 views

### Multiple histograms grouped in a chart

I have this problem: I have three distributions and the relative histograms. But I would like to create an histogram in which the three columns of each single histogram for the same bin are put ...
45 views

### Colouring of multiple data sets in DiscretePlot [duplicate]

I noticed the following strange behaviour: Let us first define an array of functions g[k_] := {Sin[k], 2*Sin[k]} gg = g[k] When I plot this array of ...
401 views

### Combining BarChart and Grid - IPCC style

I would like to combine a plot with a table. Something like this famous plot/table from IPCC: So after reading Combining graphics & lists / tables I tried an approach using ...
96 views

### Why does one Monitor expression work while another fails?

I have a (somewhat involved) function f[x?NumericQ, y?NumericQ] and for some reason it behaves differently when given a Table ...
348 views

### plotting 3d points: z-axis is squashed [duplicate]

I am plotting 3D points and it occurs to me that Mathematica doesn't have an easy way to specify my points to be plotted in a uniformly scaled cartesian space. For example I plotted ...
440 views

### Smooth out contour in RegionPlot/ContourPlot

I would like to smooth out the jagged edges in the outermost contours in the following plot: I have data of values as a function of variables (x,y) in the form ...
118 views

### Edit plot after creation [duplicate]

I try to find a way to manipulate a plot I created before. (for full code take the fuction x[t_]:=Sin[2t] ) Let's say I have a plot: ...
196 views

### How can we ensure the result of Mathematica is exactly correct?

This is an example, I plot a function and find it has a defect when x approximates 400. Plot[Cos[.3 x] Exp[-0.01 x], {x, 0, 1000}, PlotRange -> All] Another ...
490 views

### Plot has red 'film', no error message

I am encountering really strange behavior: I wrote a function that plots values some data. After executing the code the resulting plot has the red 'error' colour, but only momentarily (maybe 0.1 sec). ...
131 views

### Multi-legend issue in ChartLegends?

Been fiddling around with the legends and trying to place one in each corner and I bumped into an issue: ...
138 views

### Tooltips and points don't show when only 2 points in ListPlot?

Problem with ListPlot when each point has a Tooltip and there are exactly two points(or for a multi-plot ...
241 views

### Improving ListContourPlot mesh triangulation

I have a irregularly placed measurement data. I bring here a small example. I am sorry for that. mdata = {{20., 1.6, 0.218084}, {4.02807, 1.71068, 0.227565}, {19., 1.6, 0.240074}, {18.8333, 1....
336 views

### BoxWhiskerChart without whiskers

I would like a chart showing the median, 1/4, 3/4 quartiles, without the whiskers or fences. how can I achieve this? I cannot figure out how to turn off both the whiskers and the fences in the result ...
212 views

### Plotting: DensityPlot produces artifacts

I am trying to plot the electric potentials of bouncing balls using the following code: ...
189 views

### Smarter way of manipulating plot style?

Say, I have a colorlist listColor={Black,Brown,Red,Cyan} Now, I have some Plot function that I can use this list: ...
127 views

### How to add more than one label to Histogram automatically

I have a huge data and I want to add two labels to the Histogram. the problem here is that the labels are calculated and added automatically to the histogram. for example if I have the following ...
1k views

### How to make custom discrete color data function

Attempting to make custom discrete color data function: my custom color: is it possible to use my custom color ...
189 views

### BarChart with two ChartLabels

I am creating a BarChart, where i wish to have the actual value on the top of each bar and the label of the bar on the bottom. Basically i have created the BarChart with the label in the bottom, but i ...
355 views

### ListDensityPlot and ListPlot3D with big data [duplicate]

I have a large data set (512 x 512) and I have problems plotting it. ListPointPlot3D works fine But ListDensityPlot won't go through all the points (the same goes for ListPlot3D): Is there a way to ...
135 views

### Displaying the roots of a complex function using ListCurvePathPlot

I have the following algorithm: ...
144 views

### Mathemathica: How to plot diagram? [duplicate]

i want to plot a diagram by this command using mathemathica. but it plotted as a beeline while it must be have a bit aberration.what is my fault in plotting? i want to display my diagram such as ...
268 views

### How to represent the lines that are formed by the intersection of two planes?

I am trying to set up Brillouin zone and representing the lines that are formed by the intersection of two planes is part of my step. I have tried the sample sections from the graphics guide book, but ...
214 views

### How to place more than one ChartLabel in a BarChart

I have the following data: ...