Questions tagged [plotting]

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

1,014 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
78 views

ContourPlot colors changing in pdf Export

It has happened to me that when I export certain ContourPlot outputs, the colours in the legend appear different in the legend. See below the code and the two ...
5
votes
0answers
159 views

List(Log)Plot with “high” resolution results in various warnings, e.g. BinCounts::step

Here is some very odd behavior from ListLogPlot. So if I want to plot a function using LogPlot, I can specify the ...
5
votes
0answers
281 views

AbsoluteOptions doesn't return correct option value of Ticks?

I just come across a function called AbsoluteOptions when trying to figure out the specific option value of Ticks -> Automatic...
5
votes
0answers
678 views

Region Intersection for MeshRegion objects embedded in 3D

How can I create a logical intersection of MeshRegion objects that are three-dimensional? The RegionIntersection function will ...
5
votes
0answers
73 views

Visualise sets giving some relations on those sets

I'm not very experienced with wolfram, but I'm searching for a function that can basicly do the following. Giving some sets $A,B,C$ and some relations for example $B \subset A$,$C\subset B$. I would ...
5
votes
0answers
959 views

3D visualization of 4D object data

I have some paired data here {{x1,y1},...{x_n,y_n}} (Download link) which represents {frequency, amplitude} of a spatial object surface mesh. Its quite a lot of cells and data as you can see in the ...
5
votes
0answers
765 views

A is fast, B is fast, but together they're Mathematica-crashing slow?

I'm trying to do something with finding solutions to a quantum mechanics problem with n wells. If there are 40 wells, I need to find the solution to an equation in the form: ...
4
votes
0answers
55 views

Plotting a hexagonal histogram

For positive integers $D$, I have a function s[D_] which creates a list of complex numbers, all of the form $a+b\sqrt{-D}$, where $a$ and $b$ are integers. These ...
4
votes
0answers
27 views

AutoAction not working with Locator and LocatorPane

This code is from the "Neat Examples" part on the LocatorPane page of the documentation: ...
4
votes
0answers
38 views

Any progress on Plots of Quantities?

Plots of quantities still don't seem to work. I've implemented the one suggestion people have: use Evaluate, but now the values of my plots are just completely off ...
4
votes
0answers
34 views

Does Around work in ListLogLinearPlot?

I would like to create a plot with logarithmic x-axis, where the data has uncertainty in the x value. It's working fine with small negative y values, but when they're below ...
4
votes
0answers
57 views

How to explain the following Plot behaviour. PlotRange effect

Could someone please explain the following result. ...
4
votes
0answers
107 views

Why does not Rasterize work in SciDraw?

In the documentation, it says " Rasterization is requested with Rasterize->True, and the resolution can be specified through the ImageResolution option. " However, when I try to enable ...
4
votes
0answers
46 views

Error bars disappear in ListLogPlot when some points can't be plotted

Bug introduced in Mathematica 12.0? I'm having a problem: all the error bars disappear in ListLogPlot,ListLogLinearPlot, and <...
4
votes
0answers
137 views

Configuration of `PlotLayout` as “Row”/“Column”

A long awaited feature has finally been implemented in Mathematica v12: the multi-panel plots via PlotLayout! Demos are here: http://www.wolfram.com/language/12/...
4
votes
0answers
216 views

How do I prevent plot range clipping errors in a pdf printout?

Bug introduced in 11.3 or earlier I am using Mathematica 11.3 on a Windows 10 computer. I plotted several data sets of mine in a ListLinePlot. While the .pdf file looks perfectly in the current Adobe ...
4
votes
0answers
47 views

Wrong output of RegionPlot

I think Mathematica goes wrong if asked to plot this very simple region: Region2 = ImplicitRegion[x < -1 && y < -1/x, {{x, -3, 0}, {y, 0, 1}}] by ...
4
votes
0answers
176 views

Discordance in plots

Let us solve the system with Floors ...
4
votes
0answers
106 views

SmoothDensityHistogram's “Intensity” dfun

I'm having a strange issue with SmoothDensityHistogram in 11.3.0. I can easily represent my data with the "PDF" dfun: SmoothDensityHistogram[data, 0.04, "PDF"] ...
4
votes
0answers
356 views

How can I put contour labels of contour plot around the frame?

I already defined a ContourPlot with log-log scale and labels, like this: ...
4
votes
0answers
70 views

Plotting InterpolationFunction over Quantities

What's the proper syntax to plot Interpolation functions defined over Quantities? points = {{0, 0}, {1, 1}, {2, 3}, {3, 4}, {4, 3}, {5, 0}}; Change domain to ...
4
votes
0answers
179 views

Bug in LogLinearPlot? Mathematica v11.0

Bug introduced in 11.0 and fixed in 11.0.1 I'm trying to plot a sequence of functions. I wrote the code in two seemingly equivalent ways, but it produces different results. First method: ...
4
votes
0answers
96 views

Arrow looks very strange in a simple 3D plot

I try to plot an arrow in a very simple 3D plot. But the arrow and especially the arrowhead look very strange, which is certainly not the normal case. No matter how I change the parameters, it just ...
4
votes
0answers
120 views

GeoHistogram does not plot all data when points are spaced out

GeoHistogram appears to be leaving out some of the data given to it. A minimal example follows. ...
4
votes
0answers
85 views

Automatic legend does not include all datasets in case of short list of colors

The following code gives legend only for elements with unique color ...
4
votes
0answers
66 views

Cannot avoid redundant function evaluations in RegionPlot

I am trying to use RegionPlot to visualize the regions where a function has different integer values. For example ...
4
votes
0answers
571 views

Is there a 3D version of ListStreamPlot[] (analogous to ListVectorPlot3D[])

Is there is straightforward way to visualize streamlines given a series of discrete samples of a 3D vector field? There is a generalization of ListVectorPlot --> <...
4
votes
0answers
130 views

Possible bug with ticks with superscripts, Labeled and Export to PDF

Here is the minimal working example that gives me problems with Mathematica 10.4 on OSX ...
4
votes
0answers
370 views

Export a 3D list plot file to 3D viewing format

I am not quite aware of 3D file formats which I can export from Mathematica; I have the following problem. I have a very large 3D list plot (with axes labs, plot legends etc..) from my experiment. ...
4
votes
0answers
130 views

Planning flights for a special route

I want to plan a world trip with Mathematica. So I already have the dataset with all the cities I want to visit and the tour (with the command FindShortestTour). So ...
4
votes
0answers
190 views

Bug in ListLinePlot[] when Filling up and down?

Bug introduced in 9.0 or earlier and persisting through 11.0.1 or later I'm trying to understand this apparently incorrect Filling behavior in ...
4
votes
0answers
81 views

InteractiveTradingChart not working inside Dynamic

I would like to have an interactive trading chart that updates by changing the input stock. But anytime a dynamic is wrapped around the function, it doesn't manage to initialize. Is there any way to ...
4
votes
0answers
505 views

Export 3D plot or Graphics3D object as stereoscopic 3D .jps file

I recently came across some Matlab code to output a 3D graph as a stereoscopic left/right .JPS file, viewable e.g. with 3D Media Viewer, Stereoscopic Player or using any 3D television or beamer: http:/...
4
votes
0answers
324 views

Stability analysis of transcendental equation (stability crossing curves)

I am working with a non-linear delay system with three scalar delays. After taking the Laplace transform of the linearized system, the characteristic function is a transcendental equation with three ...
4
votes
0answers
275 views

PlotRange->Automatic the exact function used to calculate outliers

I know that PlotRange->Automatic does the following: "the distribution of coordinate values is found, and any points sufficiently far out in the distribution ...
4
votes
0answers
601 views

Fractals or other patterns in the quadruple linked pendulum

This will seem like a physics question, but I'm looking for something to do in Mathematica specifically. I've successfully modeled a quadruple linked pendulum by setting up the ODEs and solving them ...
4
votes
0answers
188 views

EquationTrekker-like behavior for state space?

EquationTrekker is great for phase space plots, however I want to plot the results of $$\phi '(t)=-b \sin (\phi (t))+g \sin (\Phi (t)-\phi (t))+1\\\Phi '(t)=g y \...
3
votes
0answers
56 views

How can I determine and then plot a confidence bands in QuantilePlot?

Does anyone know if its possible to plot a confidence band in QuantilePlot? I haven't been able to find any documentation for this, or a previous example on here. ...
3
votes
0answers
59 views

Displaying many ROC-curves

I did a classification using Classify. I sampled 20 times. To calculate the mean accuracy, etc., is easy. But is there also a way to overlay the calculated ROC ...
3
votes
0answers
37 views

BoxWhiskerChart features breaking with massive WeightedData datasets

I have huge WeightedData objects (500K) that I am trying to plot in BoxWhiskerChart. I can get the default chart, but if I try and use the "Outliers" option, it breaks and hits a recursion ...
3
votes
0answers
28 views

Multiple legends for barCharts

I came across this and found it quite cool. Here is the minimal example: ...
3
votes
0answers
106 views

How *does* Mathematica generate ticks and tick values?

This question has sort of been asked before in various guises (e.g. here and here), but the answers given there do not answer the question I'm posing. Before I pose my question, a definition. Let use ...
3
votes
0answers
58 views

Unfold/develop a RevolutionPlot3D mesh onto a 2D plane?

I'm making my own blimp out of emergency blankets (Mylar), and I want it to have a NACA0025 airfoil shape. I'm new to Mathematica, but I still managed to create the shape I wanted with ...
3
votes
0answers
90 views

Using ASCII plots in Terminal in version 12.1

This question was asked before for version 12 but unfortunately the provided patch doesn't work anymore for version 12.1. Using Terminal` (ASCII plots) in Wolfram 12 I was trying to use the Terminal` ...
3
votes
0answers
39 views

PlotRange -> Full giving the same result as with All for version 12.0

I have read all I could about PlotRange, but remain with this bug, and search for a workaround. If I invoke (from the Full help ...
3
votes
0answers
55 views

How to embed a plot drawn by Mathematica into a webpage

In this webpage for Calculus, page the author presented graphs of surfaces in 3D so that we can interact with (rotating, zooming). My question: can we create a graph using Mathematica and then ...
3
votes
1answer
125 views

Remove white space from Density Plot

Is there any way to remove white space from Density plot?(See below). I tried "MaxPlotPoints", but it doesn't work in my case. I used the command below for this plot: ...
3
votes
0answers
44 views

StreamPlot hangs if streamPoints are outside the range specified

Is this a know issue? The following MWE works and gives plot immediately ...
3
votes
0answers
78 views

How to plot function with pattern-matched argument and catch-all definition that throws

Consider the following function: f[n_?NumericQ] := n; f[args___] := Throw[{args}]; Then try to plot it: ...
3
votes
0answers
64 views

Large Dynamic expressions and responsive UI's

I have a ListLinePlot with 40,000 points. When it's displayed on-screen the input fields are not responsive (text appears slowly well after the user is done typing)....

1
2
3 4 5
21