Questions tagged [plotting]
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
1,438
questions with no upvoted or accepted answers
26
votes
0
answers
1k
views
ListContourPlot and ListContourPlot3D use better interpolation for arrays of values than for lists of tuples (i.e. {{x,y,z,f[x,y,z]}..}
From reading the documentation, it seems that ListContourPlot3D should work equally well on an array versus a list of tuples,
?ListContourPlot3D
...
24
votes
0
answers
1k
views
How to use Charting`ScaledTicks?
I found several topics about undocumented ScaledTicks function and tried to use this. Here is the first example:
...
20
votes
0
answers
480
views
Bug with Tooltip and ListPointPlot3D
Bug introduced in 10.0.0 and persisting through 11.2.0. Fixed in 11.3.
The coordinates of a point in a three dimensional graph can be shown in a tooltip:
...
19
votes
0
answers
234
views
Why the Callout option makes plotting performance poor
Bug introduced in 11.0 and fixed in 11.1
The Callout option is a new option for plotting, but the performance is very poor, see bellow testing case.
...
14
votes
0
answers
231
views
MultiaxisArrangement Functionality in v13.0
At long last, built-in multiple axes plots are included in version 13.
However, the current implementation seems a little half-baked. MultiaxisArrangement only ...
12
votes
0
answers
268
views
Is Tooltip broken in MMA 11.1.1?
Bug introduced in 11.1.0 and persisting through 11.2.0
I have just discovered that Tooltip works differently from as described in the documentation, at least in my ...
11
votes
0
answers
212
views
Produce the same color scheme as IboView
I can use the following command to produce the HOMO (highest occupied molecular orbital) in chemistry:
...
11
votes
0
answers
243
views
What in all the world is StreamPlot doing?
This really should not be hard:
StreamPlot[{1, 1}, {x, 0, 1}, {y, 0, 1}, StreamStyle -> {Arrowheads[.02], Darker[Pink]}]
But this is the mess Mathematica turns ...
11
votes
0
answers
401
views
Mathematica and POV-Ray workflow: ListContourPlot3D
I have the following function describing a molecular electronic Orbital.
...
10
votes
0
answers
287
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 ...
10
votes
0
answers
262
views
ListDensityPlot3D does not antialias axes
I sent a bug-report to Wolfram and the case number is [CASE:3454878]
I'm on Linux with Mathematica 10.3 and I have my 3D graphics output set to the highest "Antialiasing Quality". It works fine for <...
9
votes
0
answers
115
views
How can I plot a region parametrized by another region?
I am trying to learn how to describe and plot a 2D-region for $x_1$ and $x_2$ based on / parametrized by another 2D-region for $v_1$ and $v_2$.
In the following example, the region ...
9
votes
0
answers
957
views
VectorPlot3D broken in Mathematica 11.0.1?
Here is what I get when simply evaluating the example in the documentation:
This is on Win7 x64. I can see some vectors if I do something like
...
8
votes
0
answers
126
views
How to customize multipanel BarCharts (e.g., ChartLayout -> "Row")?
Bug introduced in 13.0
In version 13.0.0 support for multipanel plots has been added to 15 visualization functions —among them ...
8
votes
0
answers
54
views
VectorPlot not localizing variables
Is this a bug or not?
u = {{}};
VectorPlot[{1, u^2}, {u, 0, 1}, {z, 0, 0.4}]
The VectorPlot works fine if ...
8
votes
0
answers
590
views
How to do a Sankey Diagram with multiple notes in Mathematica
I want to create a Sankey Diagram that looks like this:
I read the post on How to Make a Sankey Diagram, but I can't seem to make the right adjustments to get the diagram I want. Is there a way to do ...
8
votes
0
answers
319
views
ContourPlot problems
What's the issue here?
The following code
...
8
votes
0
answers
189
views
Arrowhead scale keeps changing as figure is rotated
I am using a combination of Plot3D and Graphics3D to plot a surface based on a function and a primitive Arrow object.
...
8
votes
0
answers
65
views
Unexpected behavior when using multiple MeshFunctions; definitions not kept isolated from each other
I was trying to devise an answer to this question that relied entirely on MeshFunctions to do all the work, but I ran into some unexpected behavior.
Consider two ...
8
votes
0
answers
263
views
InterpolationOrder has no effect on ListContourPlot when the data is of the form {x,y,f[x,y]}
This is related to the issue brought up here, if you want to mark it as duplicate feel free to do so, but it is slightly separate.
Take two sets of data, identical except for the form,
...
8
votes
0
answers
1k
views
Visualizing the Lagrange Multiplier Solution
This question is based on work in Susan Colley's Vector Calculus, 4th ed.
The question is to find and classify critical points of $f(x,y,z)=3xy-4yz+5xz$ subject to the constraint $g(x,y,z)=3x+y+2z=13$...
8
votes
0
answers
2k
views
ErrorListLogPlot gives wrong error bars on log scale
From this and this post I learned how to use ErrorListLogPlot and its family to add error bars on top of a list of mean values. However, consider this simple ...
7
votes
0
answers
374
views
Label Resolution in Plot3D with MaTeX
I am using MaTeX (check this for installation) for labeling which works fine with Plot but with ...
7
votes
0
answers
73
views
Is ContourLabels broken when input to ContourPlot is an equation?
Since this behavior is connected to How to add contour labels for contour lines?,
I thought it worth pointing out this issue here on the site. It concerns the option ...
7
votes
0
answers
74
views
BarChart does not display asymmetric error bars correctly
BarChart seems to read the uncertainty in elements the other way around. The object:
Around[5, {1, 10}]
is evaluated as .
However, when you use it in a BarChart, the uncertainties are swapped:
...
7
votes
0
answers
156
views
Possible Bug Inside Line + Graphics + PlotRange, Why and How to Fix It?
I work on Mathematica 11.0.0
I'm working on a ray tracing program and I need to visualize lightrays and their intersections. Everything works fine until today I tried to visualize two nearly parallel ...
7
votes
0
answers
128
views
Set PlotTheme globally without overriding custom (font) settings
Content of the initialization cell:
...
7
votes
0
answers
252
views
Bug in ListLinePlot[] when Filling up and down?
Bug introduced in 9.0 or earlier and persisting through 13.2.0 or later
I'm trying to understand this apparently incorrect Filling behavior in ...
7
votes
0
answers
1k
views
Interpolate throughout a 3d data list without extrapolation
I have a 3D list of data for which I'd like to plot an interpolated surface. There are several ways to achieve this, but none I cannot find a method which ONLY plots the ENTIRE interpolated surface ...
7
votes
0
answers
467
views
Incomplete implementation of units?
I've been playing around with the new units capability in MMA9 and I'm becoming a bit frustrated with what I perceive as an incomplete implementation of this capability and I'm wondering if there are ...
6
votes
0
answers
96
views
ListLinePlot in Version 13.3.0 causes the kernel to stop
Bug introduced in 13.3.0 or earlier and persisting through 13.3.1 or later
I have upgraded to version 13.3.0. I find that when I plot a data set using ListLinePlot ...
6
votes
0
answers
93
views
SetOptions[Plot, FIlling -> Axis] breaks SmoothHistogram of a CDF
Bug introduced in 12.1 or earlier and persists through 13.3 .
UPDATE: I reached out to Wolfram, and they confirmed that it's a bug.
I am using version 12.3. Here's a simple plot of some randomly ...
6
votes
0
answers
236
views
Rendering realistically looking rope
I used this code of user Henrik Schumacher to try render a realistic looking rope. The result using ParametricPlot3D is here:
In fact not very realistic. The ...
6
votes
0
answers
72
views
What makes ListPlot better than N?
I wanted to numerically verify the validity of the formula for the first Stieltjes constant
$$\gamma_1=-\frac12\sum_{n=0}^\infty\frac1{n+1}\sum_{k=0}^n\binom{n}{k}(-1)^k\log^2(k+1)$$
...
6
votes
0
answers
306
views
Plotting severely distorted in V12.1 but works in V12
The following code can plot a surface in 3D (the plot) and also makes a row of two plots using ...
6
votes
0
answers
181
views
plot and sum colors of the common region in hyper-graph?
For the two complex weighted hypergraphs {$G_{1}: w1$ for edge $(d_{1},d_{2})$; $G_{1}: w2$ for edge ($d_{1},d_{3}$) } sharing one vertex $d_{1}$, I use different color for the complex angle and ...
6
votes
0
answers
219
views
Can't place PlotLabels with PlotLayout->"Row"
When I try to plot a set of graphs using ListPlot with PlotLayout->{"Row", 4}, and then try to label the plots using ...
6
votes
0
answers
305
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/...
6
votes
0
answers
117
views
Evaluation of Mod of InterpolatingFunction prevents discontinuity processing by Plot
While trying out @MichaelSeifert's answer to Eliminating Discontinuities When Using Mod with NDSolve and Plot for Oscillators,
I came across this odd behavior. Depending on how an ...
6
votes
0
answers
211
views
Export of GraphicsRow to PDF is ugly
I have a problem with exporting GraphicsRow[{Plot, Plot, Plot,...}] object to pdf.
The line is like
...
6
votes
0
answers
167
views
Smoothing out DensityPlot3D over a region quickly
Is there a way to smooth out DensityPlot3D over a region quickly in an aesthetic way? I can set PlotPoints to 100 or even 200, ...
6
votes
0
answers
71
views
How does the Contours→{{f_1, g1}, {f_2, g_2}, …} setting work?
I want to plot some wavefronts in Mathematica, and I'm having some trouble reining in one of the options for my ContourPlot3D.
More specifically, the documentation for ...
6
votes
0
answers
352
views
ImageSize not working correctly with Legends and Placed directives
It seems that having Placed inside Plot breaks the ImageSize specification:
...
6
votes
0
answers
193
views
Contour labels on SliceContourPlot3D?
SliceContourPlot3D doesn't seem to come with the option of putting contour labels on the plots as far as I can see. I'm using the ...
6
votes
0
answers
306
views
Does ContourPlot3D leak assignments inside Manipulate?
Update 5 Aug 2015 -- Karsten 7. found a minimal example of leaking not involving Manipulate, so the role of Manipulate seems ...
5
votes
0
answers
95
views
How do I change the orientation of tick marks in a 3D plot?
I'm putting together a series of plots for a paper I'm writing and they're not coming out quite right. Here is an example of one of them:
...
5
votes
0
answers
158
views
What is SphericalPlot3D plotting here?
Plot three surfaces with SphericalPlot3D:
...
5
votes
0
answers
71
views
Making Intersection of 3 Lines Calculation More Efficient
So I managed to optimize the calculation a little for looking for 3 line intersections in equally spaced points around a circle by only checking one "wedge" of the circle, ignoring ...
5
votes
0
answers
128
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` ...
5
votes
0
answers
43
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 ...