Skip to main content

Questions tagged [plotting]

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

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

How to use Charting`ScaledTicks?

I found several topics about the undocumented ScaledTicks function and tried to use this. Here is the first example: ...
Alx's user avatar
  • 3,632
27 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 ListContourPlot3D[...
Jason B.'s user avatar
  • 69.2k
20 votes
0 answers
484 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.2k
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,469
18 votes
0 answers
303 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
13 votes
0 answers
211 views

Tick functions not working in 14.0.0?

Consider the code ...
sam wolfe's user avatar
  • 4,903
12 votes
0 answers
273 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
258 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,572
11 votes
0 answers
281 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,149
11 votes
0 answers
263 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
  • 113k
11 votes
0 answers
404 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
302 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
  • 1,004
9 votes
0 answers
965 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,149
8 votes
0 answers
285 views

How to Calculate Biharmonic Distance in MMA?

There are many kinds of distances. One of them is Biharmonic Distance where I got the the image below from: The biharmonic examples are on the left, and the author kept his promise in the paper that ...
Teg Louis's user avatar
  • 114
8 votes
0 answers
141 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
  • 13.5k
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
  • 239k
8 votes
0 answers
625 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
321 views

ContourPlot problems

What's the issue here? The following code ...
Stratus's user avatar
  • 2,964
8 votes
0 answers
198 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
  • 69.2k
8 votes
0 answers
268 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
  • 69.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$...
David's user avatar
  • 15k
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
422 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,669
7 votes
0 answers
78 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
  • 239k
7 votes
0 answers
83 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
  • 327
7 votes
0 answers
158 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,630
7 votes
0 answers
131 views

Set PlotTheme globally without overriding custom (font) settings

Content of the initialization cell: ...
klingt.net's user avatar
7 votes
0 answers
255 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,525
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,606
6 votes
0 answers
148 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.6k
6 votes
0 answers
96 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
253 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
  • 20.1k
6 votes
0 answers
73 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
307 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,728
6 votes
0 answers
188 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,648
6 votes
0 answers
238 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
335 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,367
6 votes
0 answers
132 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
  • 239k
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
  • 498
6 votes
0 answers
178 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
  • 433
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
366 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
  • 4,006
6 votes
0 answers
195 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
317 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
  • 239k
5 votes
0 answers
120 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
129 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
  • 409
5 votes
0 answers
181 views

What is SphericalPlot3D plotting here?

Plot three surfaces with SphericalPlot3D: ...
Simon Rochester's user avatar
5 votes
0 answers
78 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
30