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
3answers
226 views

point-wise transform of `Plot`

Suppose I have the following plot: Plot[(1 - p2)^2/(p2^2 + (1 - p2)^2), {p2, 0, 1}, AxesLabel -> {"p2", "p1"}] Now I want to do a point-wise transform to ...
0
votes
1answer
137 views

Stopping- threshold and stopping- time of stochastic processes.

Rod Lm helped me to generate the following code, which I want to extend a little bit. So my intention is to use the threshold (the green line) as boundary in the following way: as soon as the process ...
4
votes
2answers
951 views

Plotting a Complex Valued Function

Suppose that a complex valued function f[z]=f[x+i y]=u[x,y]+i v[x,y]. I want to plot3d its real part by coloring it with respect to its imaginary part. For ...
1
vote
2answers
126 views

Scripting a visual comparison between the derivative and some finite scheme

I want to make an application where I can specify a function $f:\mathbb R\to \mathbb R$ and a dynamic value $n$ and get the function $\frac{f(x+\frac{1}{n})-f(x)}{\frac{1}{n}}$. I moreover want to ...
1
vote
1answer
415 views

Making a ListVectorPlot3D from data in an external file

I have a .dat file with six columns: {x y z vx vy vz}, where x, y, z are space coordinates and vx, vy, vz are the vector components. How can I use this file to get ...
0
votes
1answer
166 views

Subset of edges with a different color

I want to color a subset of the edges of my graph with a different color. My graph currently has a large number of edges, so the following is just a toy example ...
0
votes
2answers
127 views

Basic question on producing non-overlapping graph nodes in a graph

I am plotting a graph which has about 196 nodes. ...
1
vote
1answer
131 views

WeatherData acquirement in ListStreamPlot

I am trying to show the wind streams in a geographic area as following code for a range of time.Even if it works for realtime data but it doesn't work for range of time.I am filtering and also taking ...
2
votes
1answer
283 views

Mesh inside Plot legend

I have a plot for which I would like to create an legend that is black and white printer friendly. I have seen Jen's legendmaker but I don't know how to adapt it. I need help in making the legend for ...
8
votes
3answers
157 views

Using a List in PlotLabel which goes beyond width of ImageSize

My PlotLabel goes beyond the width of the ImageSize. The label is generated into a List form ...
0
votes
1answer
200 views

Brownian Motion with stopping threshold

I just want to generate one stochastic process, whereas I want to be able to manipulate the start value and the volatility. Furthermore, the process should stop when it reaches 5 However, as soon as ...
1
vote
2answers
134 views

NumberForm in logarithmic plot (with LevelScheme package)

I am trying to plot some data using the LevelScheme package, but changing the logarithmic scale to display values in NumberForm ...
-1
votes
2answers
309 views

How do I generate a table of data points from a function and add random noise? [duplicate]

I am trying to generate a table of data for the function: ...
2
votes
2answers
522 views
2
votes
2answers
198 views

Restarting an Animate animation after variable in Manipulate changes

I've been trying to restart an animation after variables change from Manipulate PopUpMenus. My animation takes the form: ...
2
votes
3answers
285 views

Introduction of straight Line into Manipulate function

I just want to implement a line within my chart that starts from time point 0 to time point T and whose y-coordinates can be manipulated, which in my case is represented by D. I tried to implement a ...
1
vote
3answers
547 views

Plotting 2D image of functions of several variables

I have a function $f: \mathbb{R}^4 \to \mathbb{R}^2$, and I would like to plot the region $f([0,1]^4)$. Writing $f_1(s,t,u,v)$ and $f_2(s,t,u,v)$ for each coordinate of the output I tried using ...
1
vote
1answer
103 views

Cannot Plot Output of Solve

I'm trying to plot the output of the following function t2[x_] in ...
0
votes
0answers
114 views

How to add something like a shadow to my resulting figure? [duplicate]

after plotting this function: ...
0
votes
1answer
714 views

Plot and Histogram together in Mathematica 7

I want to draw a histogram and some line plots together. I have one observed variable and several predicted ones. Observed data should be shown as a histogram and the predicted variables should be ...
5
votes
1answer
505 views

Plot two functions within manipulate

I just want to plot all stochastic processes and their average process. The original code without the average is: ...
8
votes
2answers
670 views

How can I plot a loxodrome?

Can someone show me how to plot a rhumb line (loxodrome) in Mathematica via the ParametricPlot function? Here is what I got so far: ...
2
votes
1answer
533 views

Distance between 3D curves

I would like to determine the distance bewteen two representations of the Lorenz Attractor. I have two 3D representations for different initial conditions and I want to calculate the distance between ...
2
votes
3answers
974 views

Plotting a list along with its trend line [duplicate]

Say I have these data: data = {{1, 3}, {2, 4}, {3, 6}, {4, 7}}; I want to fit these data with a quadratic equation, like this: ...
3
votes
3answers
2k views

Import specific data from Excel to make a plot

I need some help with this: I have imported data from an Excel file and I need to make a contour plot of it. The data are in table-like form. Here is a sample of the first few 'rows': ...
7
votes
2answers
704 views

Projection of ContourPlot3D

Suppose I have the following ContourPlot3D: ...
1
vote
1answer
144 views

Apply ColorData scheme for Plot from green to red

I'd like to apply a ColorData to this plot: ...
4
votes
1answer
244 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
290 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
199 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
682 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
299 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
165 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
546 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
263 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
153 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
194 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
835 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
234 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
408 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: ...
24
votes
7answers
2k 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
153 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
295 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
77 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
151 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
528 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
184 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
198 views

Plot sublists as different colors

I have one big list with many sublists inside. All sublists consist of three numbers. For example: ...