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

learn more… | top users | synonyms (4)

1
vote
1answer
134 views

Apply ColorData scheme for Plot from green to red

I'd like to apply a ColorData to this plot: ...
4
votes
1answer
218 views

Dynamic legends involving show

My question is how do I get dynamic legends (legends that turn data on/off) to work with Show? This is an extension of an old question here; How to dynamically toggle curves on/off in a crowded ...
2
votes
1answer
237 views

Visualizing a 2-dimensional PDF [duplicate]

I have empirical data that describes a 2-dimensional Probability Density Function and I want to visualize that data in a meaningful way using Mathematica. My first instinct is to use a 2D Heat map ...
2
votes
0answers
195 views

why version 9 is much slower than version 8 in producing these graphics

Consider this example(taken from Thomas's question here) ...
0
votes
1answer
491 views

How to calculate the area of a listplot [duplicate]

I need to calculate the area enclosed in a two-dimensional listplot and following an answer to a similar question I tried this way: ...
6
votes
2answers
256 views

Why Interpolation makes ListPlot3D slow?

I'm trying to use ListPlot3D to plot some data, and I'm using the InterpolationOrder option to make the plot smoother. But the ...
1
vote
2answers
157 views

Indicating the probability that a weather datum is above/below some given value on a geographic map

With help of the previous questions here, I am analyzing weather data as daily MeanWindSpeed of some cities with the following code: ...
4
votes
3answers
438 views

Is there a way to plot the derivative of an implicit function in mathematica?

After having read the manuals and searched extensively, I could not find a way to do the following. Suppose you have an implicit equation of the form $y^4 + y^5 = x$, and $y$ is a function of $x$. ...
2
votes
1answer
176 views

How to use output from previous line in Plot? [duplicate]

Suppose, I want to solve a equation and want to obtain it's first root. In this case I've used In[1]=:Solve[b^2 + b*z + 1 == 0, b][[1]] This gives ...
0
votes
0answers
137 views

Plotting a mixture CDF with a truncated distribution in version 7

I'd like to plot the CDF of the following pdf in Mathematica 7: $$f(x)=0.1 g(x)+0.85 m(x)+0.05 h(x)$$ where $$ \begin{array}{ccl} g(x)&:&P(0)=1,\ P(x\neq 0)=0\\ ...
0
votes
1answer
129 views

Plotting solutions to Solve results

I am trying to plot a solution to a Solve result, ie I have a function f(x,y) and I want to plot y=y(x) for when f(x,y) = 0.06366. Here is what I am trying to do ...
1
vote
1answer
613 views

Switching the axis of a plot [duplicate]

I have a plot but the x and y axis need to be switched. The problem is that I can't explicitly solve for the other so I can change the axis. ...
1
vote
1answer
216 views

Choosing min/max values of transcendental equation

With help from here, I have succeeded in plotting the equation z = -a Log[2 Cosh[(2 f[x] + x)/a]], with f[x] being defined by ...
3
votes
1answer
322 views

Common tangent to a curve

I need to find out the x and y coordinates of the points where the common tangent touches the curve. How can I do this ? Thanks a lot in advance. Data points: ...
23
votes
7answers
1k views

How do I draw a Circular Graph colored like this in Mathematica?

I must plot some data in radians and would like to use this image as a background to that graph. Although it looks good the lines are degraded in image form. thus the reason for this question. Can ...
0
votes
1answer
140 views

Plotting a family of contour plots [duplicate]

How can I plot the following equation with $k$ assumed to be an integer"? I tried something like this, but it doesn't work: ...
2
votes
3answers
1k views

Solve and plot an equation that is dependent on a transcendental equation

I am trying to plot a function that uses the values of a transcendental equation as its input values: y = Tanh[(2 y + x)/2.5] z = 2.5 * Log[2*Cosh[(2 y + x)/2.5]] ...
0
votes
2answers
262 views

Plotting geodesics of upper half plane

I want to solve (numerically) the geodesics of the upper half plane and plot. The results are quite known (i) straight lines parallel to $y$-axis and (ii) semicircles centered on the $x$-axis. Now the ...
2
votes
1answer
70 views

Why do I have to perform a second ReplaceAll in this InterpolatingFunction?

I have an InterpolatingFunction that I'd like to plot, and I wonder why I have to perform a ReplaceAll on the following function: ...
1
vote
1answer
143 views

Improving the plotting time of a very complicated expression

The quatity $R$ is defined by a complicated expression in terms of $a_1,a_2,\ldots,a_n$. Now each $a_i$ is a function of $x$, $a_i(x)$. I would like to know what is the most efficient way to ...
-1
votes
2answers
453 views

A simple ListPlot with different colours and a Tooltip

I know that the threads ListPlot with each point a different color and a legend bar and Extracting the coordinate of a particular point of interest from a ListPlot are somehow the answers to my ...
5
votes
1answer
164 views

Default FontFamily for PlotLabel

This is probably a rather basic question and I presume I am simply unable to make proper use of the Options[] function: I am trying to figure out what the default ...
8
votes
3answers
2k views

“Save Graphic As…” does not include plot legends

I am creating some plots with Show but unfortunately the PlotLegends seems to be out of the bounding box when saving the graph. ...
3
votes
3answers
193 views

Plot sublists as different colors

I have one big list with many sublists inside. All sublists consist of three numbers. For example: ...
2
votes
1answer
53 views

Does a manipulation of a plot area produce new data?

You do a ListPlot. Plot[Sin[x^2], {x, 0, 1}] pdat1 = With[{fig = Plot[Sin[x^2], {x, 0, 1}]}, First@Cases[fig, Line[x_] :> x, Infinity]]; You ...
4
votes
1answer
336 views

ListContourPlot is blocking my geometry

I have a Navier-Stokes solution for a flow past a cylinder. I have attached the DAT file. The columns in the DAT file contain the x,y,u,v,p data, respectively. The DAT file can be obtained from our ...
7
votes
2answers
716 views
5
votes
0answers
498 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 ...
1
vote
0answers
118 views

How can I say that all quantities need to be positive (and real)? [duplicate]

Can you say at the beginning of a script in Mathematica that you want all the quantities to be positive (and real)? So that in all calculations, only the real values of these quantities will be ...
1
vote
2answers
776 views

Plot 3D set (or a domain of three-variable function)

is there any way to plot a "3D set" of points subject to certain rules? For example, my task is to find maximum of some function of three variables which have to meet some conditions. Of course I ...
14
votes
4answers
893 views

Combine absolute and relative (scaled) coordinates

I am using Inset to add an Epilog to a plot. The position of the images (in my case: framed numbers) can be specified as an ...
4
votes
4answers
255 views

Filling and Shading an Harmonic Curve

Suppose I have an equation plotted as shown: ...
8
votes
2answers
311 views

How to draw a contour diagram in Mathematica?

This answer at Math.SE contains a neat contour diagram created using Mathematica: What Mathematica functions I can use to draw diagrams like this?
1
vote
1answer
329 views

Weird vertical line when trying to plot a histogram [duplicate]

I'm trying to plot a histogram of a few data points and overlay a plot on it (it's a fit of a geometric distribution to my data). The weird thing is that a vertical line appears always next to the ...
6
votes
2answers
635 views

Manipulating plot of random iterated function system fractal

I'm generating the Sierpinski Gasket by implementing a chaos game in mathematica. What I'd like to do is create an interactive manipulation with a slider, whereby moving it forward, plots all the ...
6
votes
2answers
150 views

Setting OperatorSubstitution to False has issues with PDF and EPS exports. Are these bugs?

In Plot, I would like to use my own font, eg Inconsolata, for operators such as ×, so I set OperatorSubstitution to ...
4
votes
1answer
167 views

Problems with RootLocusPlot

I am having some trouble to understand how the RootLocusPlot works (options, drawing and etc.) Here is an example ...
3
votes
1answer
222 views

Problem with the Plot of Functions and PlotLegends

For some odd reason the PlotLegends output is not as expected. ...
3
votes
0answers
105 views

Does resizing plots produce new data? [duplicate]

What I do: ListPlot, Select the plot area, A tooltip says: Double-click to edit, Double-click the line or a point on the line, Take a handle to resize the red ...
0
votes
3answers
145 views

Evaluation in Manipulate [duplicate]

I have an expression assigned to a variable. For example: exp1 = a*x+b Now I would like to plot it using something like this ...
7
votes
1answer
432 views

Visualizing vector-spherical waves

This is a follow-up question to this one on visualizing vector-spherical harmonics. This time, I would like to visualize the vector spherical waves (including the radial dependence). The functions ...
1
vote
0answers
159 views

How can I convert a plot to pdf or eps without errors?

Mathematica 9.0.1, Linux. I try to save a plot as a pdf. I tried four different options. In each case some errors appeared as blank space ( http://yadi.sk/d/h1koyDci4z3rc ). I also tried to save ...
0
votes
1answer
417 views

What is wrong with this Cobweb plot [closed]

Something is wrong with my cobweb plot code but I couldn't figure out where do the mistakes come from. So basically we have the iterative map $x_n == x_{n-1}^{2} - 3 \mu$. I would like to draw a ...
13
votes
2answers
382 views

Sharp background image in plot

How do I get rid of blurry transitions between pixels of the background image below. It's the fault of Texture[], previously discussed in this answer. I haven't ...
5
votes
3answers
470 views

Problem with extracting specific contour from a ContourPlot

I am trying to exctract contours of specific value (2.6*10^-6) out of a ContourPlot and measure their area. Below you can see the code. It is noticable that not all of the relevant contours showed in ...
1
vote
2answers
300 views

How to create a 3D curved surface, given some discrete points in space?

I have some 3D point data and I want to create a curved surface with these points, and export the curved surface data (point coordinates) according to points density on the curved surface. How can I ...
10
votes
2answers
613 views

Adding custom GridLines to the “automatic” ones

I need to add custom (vertical) grid lines to a plot (to a DateListPlot, to be precise). I know there is the option of ...
-1
votes
2answers
186 views

Discrete 3D Plot with date on one axis

1) How do I plot the following data in 3D (large data, only a part of it is used here): ...
1
vote
0answers
88 views

Distribution above pointplot [duplicate]

This is my first question here, so I'm sorry if I do something wrong. Also I'm fairly new to Mathematica (using 8). I've used it about 2 months. Only 2 weeks intensive. The rest was about ...
0
votes
1answer
190 views

Strange 3D plot behavior

Two Part Question Part 1: As you can see from the data and plot below, the plot does not accurately display the data sets but adds lines beyond and in different dimensions. Both u and v datasets are ...