Questions tagged [plotting]

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

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

How to set Antialiasing -> False on legend frame

The legend box has antialiasing by default. How can it be switched off? ...
5
votes
0answers
139 views

FrameLabel is Broken for ArrayPlot and MatrixPlot

In version 11.0.1 the documentation for FrameLabel states its format is {{left, right}, {bottom, top}} However, it appears that this is not the case for ...
5
votes
0answers
477 views

ListPlot PlotRange Ignored with all Missing or empty data

I have a function that uses ListPlot to draw a custom plot. When a data value is not applicable I pass in Missing to prevent <...
5
votes
0answers
80 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
342 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
717 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
74 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
975 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
770 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
62 views

Visualising 'The Moessner Miracle' in higher dimensions

I thought it would be interesting to try and represent "The Moessner Miracle" in higher dimensions. This is my first attempt for higher dimensions anywhere so I'm not sure if the logic is ...
4
votes
0answers
61 views

How to center the location of the z-axis label?

How to center the location of the z-axis label which is |f(x,t)|? ...
4
votes
0answers
64 views

What is causing the blotchy Plot3D

Plot3D[SoftmaxLayer[][{x, y}], {x, -2, 2}, {y, -2, 2}, ColorFunction -> "BlueGreenYellow"] What is the cause of the blotches on the surface, and of ...
4
votes
0answers
52 views

Why are my polar grid lines limited by the maximum radial value?

I am wondering why the displayed polar grid lines are limited by the maximum plotted value (see minimal example below) - is it possible to show polar grid lines beyond the largest radial value? Thanks ...
4
votes
0answers
58 views

Cannot access ColorFunction in ListVectorDensityPlot

Working on a vector field, I'd like to use a ColorFunction dependent on both the vector direction and its norm. According to the documentation of ...
4
votes
0answers
78 views

PDF size and minor glitch in export of contour plots in mathematica 12.1.1 versus 12.2

Context I have noticed both a glitch and a size issue between mathematica 12.1.1 and 12.2 when exporting to PDF a contour plot. $VersionNumber (* 12.1 *) ...
4
votes
1answer
131 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
106 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` ...
4
votes
2answers
132 views

Returning properties of plot

How can I find out the DefaultStyle of Axes, Frames, PlotRangeClipping of Plot, DensityPlot, etc. and can I manipulate them?
4
votes
0answers
30 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
35 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
58 views

How to explain the following Plot behaviour. PlotRange effect

Could someone please explain the following result. ...
4
votes
0answers
108 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
53 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
251 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
50 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
179 views

Discordance in plots

Let us solve the system with Floors ...
4
votes
0answers
110 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
402 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
183 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
99 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
121 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
88 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
69 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
631 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
136 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
397 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
132 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
198 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
83 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
519 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
346 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
284 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
633 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
190 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 \...
4
votes
0answers
165 views

Does the VerticalCallout algorithm in PieChart work correctly?

This manufactured example is typical of many real world cases where we have thin slices of the pie: ...
3
votes
2answers
63 views

How to specify tick marks for each axis in the function of ParallelAxisPlot?

I try to use the general code, i.e., Ticks -> {{x1,label1},{x2,label2},…}, to specify tick marks in the function of ParallelAxisPlot but it doesn't work. Is there any other ways to specify tick ...
3
votes
0answers
51 views

Smooth continuous curve from a ListPlot

I have to plot a set of numerical data with a smooth continuous curve (and I'm not interested in its functional expression). If I use ListPlot function without the Joined option, the result is the ...
3
votes
0answers
46 views

Bug in Filling between ListPlots?

I am trying to plot three data sets with ListPlot and fill the space in between the curves and axis, as indicated in the examples below. But a very strange thing is ...

1
2
3 4 5
23