Questions tagged [plotting]

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

1,258 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
24 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 ...
user avatar
  • 63.2k
21 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: ...
user avatar
  • 3,492
20 votes
0 answers
448 views

Bug with Tooltip and ListPointPlot3D

Bug introduced in 10.0.0 and persisting through 11.2.0 The coordinates of a point in a three dimensional graph can be shown in a tooltip: ...
user avatar
  • 9,879
19 votes
0 answers
229 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. ...
user avatar
  • 2,379
14 votes
0 answers
228 views

One less arrow vector than asked for

Bug introduced in 10.0.0 and persisting through 13.0.0 or later. Consider the following code: ...
user avatar
  • 14.5k
13 votes
0 answers
260 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 ...
user avatar
11 votes
0 answers
192 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 ...
user avatar
  • 4,119
11 votes
0 answers
117 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 ...
user avatar
  • 10.6k
11 votes
0 answers
386 views

Mathematica and POV-Ray workflow: ListContourPlot3D

I have the following function describing a molecular electronic Orbital. ...
user avatar
  • 111
10 votes
0 answers
260 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 ...
user avatar
  • 974
9 votes
0 answers
936 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 ...
user avatar
  • 4,119
9 votes
0 answers
251 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 <...
user avatar
  • 111k
8 votes
0 answers
98 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 ...
user avatar
  • 12.3k
8 votes
0 answers
159 views

ListPlot does not plot Labeled data under some conditions

I don't understand the following behaviour I'm seeing with ListPlot and Labeled. It seems like a bug to me, but I'm wondering if ...
user avatar
  • 317
8 votes
0 answers
548 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 ...
user avatar
8 votes
0 answers
102 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 ...
user avatar
8 votes
0 answers
318 views

ContourPlot problems

What's the issue here? The following code ...
user avatar
  • 2,760
8 votes
0 answers
59 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 ...
user avatar
  • 63.2k
8 votes
0 answers
236 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, ...
user avatar
  • 63.2k
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$...
user avatar
  • 14.5k
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 ...
user avatar
  • 754
7 votes
0 answers
288 views

Label Resolution in Plot3D with MaTeX

I am using MaTeX (check this for installation) for labeling which works fine with Plot but with ...
user avatar
7 votes
0 answers
60 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 ...
user avatar
  • 216k
7 votes
0 answers
63 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: ...
user avatar
  • 145
7 votes
0 answers
53 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 ...
user avatar
  • 216k
7 votes
0 answers
150 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 ...
user avatar
  • 9,178
7 votes
0 answers
123 views

Set PlotTheme globally without overriding custom (font) settings

Content of the initialization cell: ...
user avatar
7 votes
0 answers
459 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 ...
user avatar
  • 5,280
6 votes
0 answers
196 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 ...
user avatar
  • 2,615
6 votes
0 answers
71 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)$$ ...
user avatar
6 votes
0 answers
300 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 ...
user avatar
  • 4,104
6 votes
0 answers
169 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 ...
user avatar
  • 1,556
6 votes
0 answers
105 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 ...
user avatar
  • 216k
6 votes
0 answers
187 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 ...
user avatar
  • 488
6 votes
0 answers
171 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. ...
user avatar
  • 207
6 votes
0 answers
140 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, ...
user avatar
  • 311
6 votes
0 answers
69 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 ...
user avatar
6 votes
0 answers
318 views

ImageSize not working correctly with Legends and Placed directives

It seems that having Placed inside Plot breaks the ImageSize specification: ...
user avatar
  • 3,160
6 votes
0 answers
177 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 ...
user avatar
6 votes
0 answers
226 views

Bug in ListLinePlot[] when Filling up and down?

Bug introduced in 9.0 or earlier and persisting through 13.0.0 or later I'm trying to understand this apparently incorrect Filling behavior in ...
user avatar
  • 1,438
6 votes
0 answers
292 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 ...
user avatar
  • 216k
6 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 ...
user avatar
  • 333
5 votes
0 answers
67 views

What is SphericalPlot3D plotting here?

Plot three surfaces with SphericalPlot3D: ...
user avatar
5 votes
0 answers
51 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 ...
user avatar
5 votes
0 answers
41 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 ...
user avatar
5 votes
0 answers
356 views

White triangles in ListContourPlot

Bug introduced in 12.0 and fixed in 12.1 I'm using ListContourPlot with InterpolationOrder -> 0 to plot some data and end up ...
user avatar
  • 17.7k
5 votes
0 answers
184 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 ...
user avatar
5 votes
0 answers
100 views

FrameTicks in DateListPlot doesn't support "All" in Mathematica 12

In mathematica 12, DateListPlot[{1, 1, 2, 3, 5, 8, 11}, {2000, 8}, FrameTicks -> All] gives And the error message is A ticks specification in the value ...
user avatar
  • 15.7k
5 votes
0 answers
229 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/...
user avatar
  • 4,177
5 votes
0 answers
126 views

ListLogPlot fails if Dynamic Updating not enabled - Ticks specification?

MMA 11.0.1.0 Win 10 64 bit; MWE ListLogPlot[Exp[Range[10]]] With Dynamic Updating Enabled, result is correct. Without it MMA complains "Tick specification ...
user avatar
  • 2,410

1
2 3 4 5
26