Questions tagged [plotting]

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

1,446 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
26 votes
0 answers
2k views

How to use Charting`ScaledTicks?

I found several topics about undocumented ScaledTicks function and tried to use this. Here is the first example: ...
Alx's user avatar
  • 3,612
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 ...
Jason B.'s user avatar
  • 67.3k
20 votes
0 answers
481 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: ...
Fred Simons's user avatar
  • 10.1k
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. ...
Jerry's user avatar
  • 2,409
14 votes
0 answers
244 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 ...
kale's user avatar
  • 10.9k
12 votes
0 answers
270 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 ...
Oleg Soloviev's user avatar
11 votes
0 answers
228 views

Produce the same color scheme as IboView

I can use the following command to produce the HOMO (highest occupied molecular orbital) in chemistry: ...
我心永恒's user avatar
  • 1,402
11 votes
0 answers
256 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 ...
Pirx's user avatar
  • 4,129
11 votes
0 answers
402 views

Mathematica and POV-Ray workflow: ListContourPlot3D

I have the following function describing a molecular electronic Orbital. ...
DPengel's user avatar
  • 111
10 votes
0 answers
288 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 ...
Teabelly's user avatar
  • 984
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 <...
halirutan's user avatar
  • 112k
9 votes
0 answers
116 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 ...
Mauricio Fernández's user avatar
9 votes
0 answers
961 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 ...
Pirx's user avatar
  • 4,129
8 votes
0 answers
132 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 ...
gwr's user avatar
  • 13k
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 ...
Michael E2's user avatar
  • 234k
8 votes
0 answers
597 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 ...
A.Larsen's user avatar
8 votes
0 answers
319 views

ContourPlot problems

What's the issue here? The following code ...
Stratus's user avatar
  • 2,882
8 votes
0 answers
190 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. ...
user32882's user avatar
  • 227
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 ...
Jason B.'s user avatar
  • 67.3k
8 votes
0 answers
266 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, ...
Jason B.'s user avatar
  • 67.3k
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$...
David's user avatar
  • 14.8k
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 ...
Leo Fang's user avatar
  • 754
7 votes
0 answers
394 views

Label Resolution in Plot3D with MaTeX

I am using MaTeX (check this for installation) for labeling which works fine with Plot but with ...
MMA13's user avatar
  • 4,265
7 votes
0 answers
75 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 ...
Michael E2's user avatar
  • 234k
7 votes
0 answers
76 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: ...
Luis's user avatar
  • 145
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 ...
Wjx's user avatar
  • 9,518
7 votes
0 answers
129 views

Set PlotTheme globally without overriding custom (font) settings

Content of the initialization cell: ...
klingt.net's user avatar
7 votes
0 answers
253 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 ...
Jess Riedel's user avatar
  • 1,516
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 ...
user8454's user avatar
  • 353
7 votes
0 answers
468 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 ...
Cassini's user avatar
  • 5,340
6 votes
0 answers
120 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 ...
Hugh's user avatar
  • 16.1k
6 votes
0 answers
94 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 ...
Brian's user avatar
  • 133
6 votes
0 answers
240 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 ...
azerbajdzan's user avatar
  • 9,923
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)$$ ...
Vaclav Kotesovec's user avatar
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 ...
xiaohuamao's user avatar
  • 4,698
6 votes
0 answers
182 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 ...
Xuemei's user avatar
  • 1,586
6 votes
0 answers
222 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 ...
Andrei Alexandru's user avatar
6 votes
0 answers
318 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/...
sunt05's user avatar
  • 4,337
6 votes
0 answers
122 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 ...
Michael E2's user avatar
  • 234k
6 votes
0 answers
215 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 ...
MsTais's user avatar
  • 488
6 votes
0 answers
171 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, ...
qwr's user avatar
  • 403
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 ...
Emilio Pisanty's user avatar
6 votes
0 answers
359 views

ImageSize not working correctly with Legends and Placed directives

It seems that having Placed inside Plot breaks the ImageSize specification: ...
atapaka's user avatar
  • 3,733
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 ...
Brecky Morris's user avatar
6 votes
0 answers
310 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 ...
Michael E2's user avatar
  • 234k
6 votes
1 answer
853 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 ...
Katia's user avatar
  • 61
5 votes
0 answers
109 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: ...
TSIC333's user avatar
  • 51
5 votes
0 answers
106 views

How Can You Label Axes in a MultiAxis Plot?

With standard plots axis labelling works like this: ListLinePlot[{Range[10], RandomInteger[50, 10]}, AxesLabel -> {"Var1", "Var2"}] ...
MMAUser's user avatar
  • 389
5 votes
0 answers
167 views

What is SphericalPlot3D plotting here?

Plot three surfaces with SphericalPlot3D: ...
Simon Rochester's user avatar
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 ...
Auri Crystal's user avatar

1
2 3 4 5
29