Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plotting]

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

20
votes
0answers
630 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 ...
18
votes
0answers
385 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: ...
17
votes
0answers
194 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. ...
17
votes
0answers
289 views

Break[] inside ColorFunction

Bug introduced in 8.0 or earlier and persisting through 11.0.1 or later ...
13
votes
0answers
196 views

One less arrow vector than asked for

Bug introduced in 10.0.0 and persisting through 11.0.1 or later Consider the following code: ...
12
votes
0answers
236 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
0answers
327 views

Mathematica and POV-Ray workflow: ListContourPlot3D

I have the following function describing a molecular electronic Orbital. ...
9
votes
0answers
189 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 <...
8
votes
0answers
77 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 ...
8
votes
0answers
237 views

ContourPlot problems

What's the issue here? The following code ...
8
votes
0answers
673 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
0answers
54 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 ...
7
votes
0answers
153 views

How to locate a stream line starting from a saddle point?

I read in a table of gradient vectors and plot using the ListStreamPlot. I want to locate and color the line that represents the "boundary" of the flux. A flux line that 1)starts from a saddle point 2)...
7
votes
0answers
79 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 ...
7
votes
0answers
124 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
0answers
126 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, ...
7
votes
0answers
723 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$...
7
votes
0answers
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
0answers
432 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
0answers
63 views

Why does FindClusters put closer points into different clusters?

I am trying to do clustering and then obtained a plot as below:- ...
6
votes
0answers
125 views

PolarPlot shows nothing for a simple function

Bug introduced in 8.0.4 or earlier and persists through 11.1.1. Affects only Windows. I just tried to plot Tan[t]^4 as a polar plot and got... nothing. ...
6
votes
0answers
90 views

Set PlotTheme globally without overriding custom (font) settings

Content of the initialization cell: ...
6
votes
0answers
58 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
0answers
151 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
0answers
367 views

How can I model the volatility, using a GARCH(1,1), of a time series of returns (and plot it) using Mathematica?

I know that if I use this code: tsm = TimeSeriesModelFit[ret, {"GARCH", {1, 1}}]; I can get the parameters using this: ...
5
votes
0answers
406 views

Convergence of approximate solutions to obstacle problem for the heat equation

Consider the problem $$(P) \qquad \begin{cases} \min\{\partial_t u - \Delta u, u -\varphi \} = 0 & \text{ in } (0,T)\times \mathbb{R}^N \\ u(0,\cdot) = \varphi(0,\cdot) & \text{ in } \mathbb{...
5
votes
0answers
78 views

Geo data load issues: Texas is missing from GeoRegionValuePlot in v11, but only when mapping US states

UPDATE: this is not a global Mathematica issue, but a data load issue on a local machine. Does anyone know how to clear Geo cache and reload the data? I've also noticed on this machine that ...
5
votes
0answers
123 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 ...
5
votes
0answers
91 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
98 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. ...
5
votes
0answers
94 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
62 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
195 views

ImageSize not working correctly with Legends and Placed directives

It seems that having Placed inside Plot breaks the ImageSize specification: ...
5
votes
0answers
148 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
174 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
176 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
0answers
572 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
68 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
254 views

How can I program my own financial indicator to be plotted in a TradingChart?

FinancialIndicator["ind", par1, par2, ...] represents a financial indicator "ind" with parameters $par1$, $par2$, etc. All available financial indicators can be ...
5
votes
0answers
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 ...
5
votes
0answers
917 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
743 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
67 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 must ...
4
votes
0answers
152 views

Discordance in plots

Let us solve the system with Floors ...
4
votes
0answers
112 views

How to plot gridlines through centrod of contourplot?

Please suggest how to plot gridlines that passes through centre of contour plot (green line in image): ...
4
votes
0answers
75 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
150 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 ...
4
votes
0answers
63 views

Filling between points in ListPlot only works with points in certain order

I am working on more flexible version of ErrorListPlot from the ErrorBarPlotspackage. The basic idea is that I ...
4
votes
0answers
78 views

Why does ListDensityPlot3D not plot anything unless I remove a point?

I have a sample of data, which, if I try to pass it to ListDensityPlot3D, is not plotted at all. But if I remove one point from it from the beginning or the end, ...
4
votes
0answers
196 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: ...