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

learn more… | top users | synonyms (12)

7
votes
2answers
237 views

Parametric plot on multi-dimensional domain

I wish to plot all the points in 3 space that satisfy the following conditions. $$ (x,y,z) = (a^2+b^2, ac+bd, c^2+d^2) $$ for $a,b,c,d$ in some range. I have tried the following. ...
7
votes
0answers
124 views

How can I export 3D plots as vector graphics? [duplicate]

Consider the following simple example code: plot3D = ListPlot3D[{{0, 0, 1}, {1, 0, 0}, {0, 1, 0}}, Mesh -> All]; Export["plot3D.pdf", plot3D] As clearly seen, ...
2
votes
1answer
57 views

How can I get Tooltip to use a string variable as its parameter?

I have an x/y data set casualties with Union and Confederate Civil War casualties. I have a third variable, battles, listing the names of all of the battles. Currently ...
1
vote
1answer
94 views

Fourier Series plot

I'm trying to plot partial sum of Fourier series. I've finally managed to make it work but there are several things I don't understand ...
1
vote
2answers
112 views

A 2D-plot with second X-axis [duplicate]

I plotted a simple function with: ...
2
votes
0answers
48 views

ListVectorPlot have to be run twice to get the plot [duplicate]

I'm running the following code on v10 ...
6
votes
1answer
218 views

My introduction to Compile

I am reading Fractals from the Newton-Raphson method from Peter Young's page [http://young.physics.ucsc.edu/115/]{http://young.physics.ucsc.edu/115/}. I've tried: ...
1
vote
1answer
188 views

How do I plot this 3-D, double integral?

I have the following function: I need to plot a 3-D with coordinates f (p, q), p and q. I mean, I enter values for p and q, so that the integral of f (p, q) must be a number. This number must be ...
0
votes
0answers
51 views

How to draw a distribution plot (dotplot?) like this in mathematica? [duplicate]

I believe I've seen this answered already here in Stack Exchange but I could not find it again, so here I am asking, hoping that someone knows this other post I am referring to. Here are examples of ...
3
votes
3answers
260 views

Animate $2D$ butterfly curve in $3D$

There is a butterfly curve $$r(\theta)=e^{\sin(\theta)}-2.4\cos(4\theta)+\sin \bigg( \frac{\theta}{12} \bigg)^5$$ ...
2
votes
1answer
64 views

PlotRange problem [closed]

When I plot a list (20 points) using ListPlot, the plot always begins at 1 and not 30 as my PlotRange indicates. ...
1
vote
2answers
82 views

I want to graph all of ArcSin without restriction, how would I format that? [closed]

I am new to this and I've plotted this:Plot[3 ArcSin[x + 4] - 16, but I don't know what/how to specify the range?
2
votes
2answers
105 views

2D List Plot in a 3D box: What am I doing wrong?

Let me just show the result first, and you'll see the error easily: Now, this is just a 2D image sent into a 3D box, so you'd think they looked alike. But the 2D image behaves well: The code was ...
0
votes
1answer
177 views

Calculate overlap coefficient between two functions

I have two functions and I want to calculate the overlap coefficients between those two functions. A similar question has been answered for Python and R, however, I couldn't find an answer for ...
5
votes
1answer
101 views

Add single contour line to relief map [duplicate]

I have generated a relief map according to a method shown in Mathematica documentation, viz: ...
3
votes
1answer
66 views

join two ListVectorPlots

I have two ListVectorPlots, the are given below ...
3
votes
2answers
120 views

ListPlot - Conditional Coloring of PlotPoints

...
1
vote
1answer
87 views

Removing a white polygon from a filled parametric plot [closed]

I have the following function ...
2
votes
1answer
76 views

Control the color of contours [closed]

I use ContourPlot frequently and sometimes the contours are not easily discerned because most values are small with a few very big ones. When I use ...
3
votes
2answers
63 views

How do you add one chart to the right of another? [closed]

I have two charts, and I would like to insert the data from one at the end of the other. However, the one chart has multiple ListLinePlots, and when I use Show to try and place the two together, the ...
1
vote
1answer
96 views

Is there a built-in function implementing the minimum and maximum gradient?

Suppose I have a set of data. Mathematica has fitting functions to determine the line and corresponding equation to the best fit given any arbitrary set of data. But in experimental techniques, ...
5
votes
2answers
197 views

How do I animate a bar chart?

Is there any easy way to have an animated bar chart (one where the heights of the bars change with time)? I currently have the following code: ...
7
votes
1answer
101 views

Contour Label Problem

Consider: ...
0
votes
1answer
93 views

Error bars in BarChart3D

Following the page on error bars in charts I wanted to make a BarChart3d with error bars, but I'm struggling with it because there is no help about the function "ChartElementData", which is used to ...
4
votes
3answers
178 views

List of points with colors

I am working with a list of points on the plane, to each of them a natural number is assigned. It will be responsinble for the points' colors. 1) My first question is very easy: at initial moment I ...
3
votes
2answers
117 views

Plotting many tuples with ListLinePlot [closed]

I have data tuples, and I want to visualize them in an "overview" in a single plot with ListLinePlot. Example data: ...
0
votes
1answer
57 views

How to change vertex font size in TreeGraph?

I tried to change vertex label font size by the following code ...
2
votes
5answers
199 views

Plotting animated point on a polar plot

How can I animate a point on a polar curve? I have used Animate and Show together before in order to get the curve and the moving point together on the same plot, but combining the polar plot and the ...
3
votes
1answer
200 views

How to normalize histogram height to unity?

When doing Histogram[data], I get the total nummber of counts in each bin. Doing Histogram[data,Automatic,"Probability"] ...
5
votes
2answers
110 views

Conditional tree vertex rendering?

I use the following code to plot a binary tree ...
3
votes
1answer
43 views

Edit DensityPlot after creation [closed]

My question is similar to this question, of which I have found the solution here. The solution enables me to edit a Plot after it has been drawn, so that Mathematica doesn't have to compute everything ...
5
votes
4answers
275 views

Finding intersection points of two graphics

I am drawing a curve from a list using: ...
5
votes
3answers
217 views
9
votes
1answer
214 views

Odd Coloring with GeoRegionValuePlot

Bug introduced in 10.0 and persisting through 10.3 or later Bug behavior is version dependent When I'm plotting data with GeoRegionValuePlot, I'm getting some ...
2
votes
1answer
66 views

Is it possible to overlay actual points on top of a ListPlot3D?

Hopefully this is a quick and easy question, I just couldn't find anything in the documentation that seems like what I want to do. I have the 3D dataset below, and many others like it. The issue is ...
1
vote
1answer
78 views

Superimposing plots

I have a very basic question. Suppose I have two similar looking plots. May be they differ by some over all scaling (e.g, f[x_]:= x^2-x^3 and ...
6
votes
1answer
226 views

Improving Pop-Up Workspace in Mathematica

Despite the recent improvements to Mathematica's statistical/data analysis tools it still doesn't have a built-in workspace interface for organizing and interacting with user defined variables/...
0
votes
2answers
109 views

Plotting complex functions to find solutions

Is ParametricPlot3D the best way to plot complex functions to find solutions? The algebra for $e^z = 2 i$ tells me that there are infinite solutions at $\frac{\pi}{2} + 2 n \pi$ for all $n \in \...
5
votes
3answers
414 views

How to calculate a list without loop?

I have pairs of numbers {a1, b1}, {a2, b2}, {a3, b3}, ..., ...
1
vote
1answer
110 views

How to border legends in ListLinePlot

I'm trying to use ListLinePlot for 3 data sets, and I want to put borders for my legends. Here is my code: ...
3
votes
2answers
80 views

Converting x,y pairs to an image: alternative to Histogram3D for sparse data?

I have a list of {x, y} integer pairs representing single events in pixel coordinates in the {x, y} plane, with occasional ...
0
votes
0answers
31 views

finding RGBcolors of the default used colored plots [duplicate]

When I use of plot in Mathematica, this uses of default colors for plotting. ...
3
votes
1answer
173 views

Animating magnetic field lines on a circle

So I want to create a changing vector as a function of theta and have it's origin stay on the path of a circle. The vector I want to plot is: ...
1
vote
2answers
80 views
1
vote
1answer
70 views

What is the shortest way to make a lot of plots with different axes for the same data?

I am trying to make my code readable and nice. My functions are ...
31
votes
1answer
860 views

Terrifying performance decrease for contour/density plots in v10.1 -> 10.3

Bug introduced in 10.3 and fixed in 10.3.1 I setup for download a test dataset at http://www.inrim.it/~magni/cm.dat.gz (a set of 64800 triplets x,y,z). The behavior can be reproduced with the ...
2
votes
2answers
144 views

Why do the boundaries from RegionPlot not match the contours from ContourPlot?

When I try to plot a 2D interpolation, coloring areas with RegionPlot and adding contours with ContourPlot, the boundary given ...
4
votes
1answer
78 views

How to get a 2D Plot from a 3D plot?

I have the following code below, that relates Concentration C[x,t], Time [t] and Space [x]: ...
1
vote
0answers
61 views