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

learn more… | top users | synonyms (4)

3
votes
1answer
399 views

White spots in ListDensityPlot

I have a problem with ListDensityPlot. I have some data on an irregular grid. I try to plot them with ...
8
votes
4answers
611 views

Aligning axes labels on multiple plots

I'm trying to create some "publication quality" figures, but Mathematica is fighting me all the way. So my question is: Should I switch to Origin? Please help! Well, all joking aside: I'm trying to ...
34
votes
3answers
801 views

Why are my plots displaying behind the axes?

I need to create graphs with light gray axes and black lines. All of my plots display behind the axes. How can I make the plots display over the axes? ...
0
votes
0answers
149 views

Change the order of magnitude on the y axis Ticks with ListPlot

I have some data plotted with ListPlot. The values on the y axis range from -411230.40068*10^9 to -411230.20005*10^9. Mathematica, when plotting the data, shows me on the y axis only the value ...
3
votes
2answers
266 views

Plotting the deformed shape of a rectangle

I want to plot a rectangle using graphics : rc = Graphics[{Blue, Rectangle[{0, 0}, {1, 1}]}]; and add a deformation function to it: $$\chi(\mathbf ...
10
votes
4answers
1k views

Plotting ErrorBars with a different style

I would like to plot the error bars of ErrorListPlot with a different style than the points. I know of ErrorBarFunction, but ...
0
votes
0answers
49 views

Is there a way to add arrows along a parametric curve inside a manipulate function? [duplicate]

I cannot find a good way to add arrows along a parametric curve that I used NDSolve to get. I have written everything inside ...
5
votes
3answers
470 views

How do I find the intersection of a closed 3D curve given by numerical data with a specified plane?

I have a list of 3D data points which form a closed curve. My own data can't be easily generated analytically, but the qualitative behaviour is well represented by a parametric curve families such as ...
6
votes
2answers
448 views

Animated Vector plot

I'm trying to make an animation of a time-varying 2D vector field. However, I'm got a difficulty in that Mathematica normalises the length of the vectors with each call to ...
2
votes
4answers
206 views

How to improve the quality of the ListPlot output

I need to plot massive data stored in external ASCII files. Below is the Mathematica code I use for this job: ...
1
vote
2answers
245 views

Finding normals to a curve through a given point

I want to find x on curve $y(x)$, where curve $y(x)$ is perpendicular to point $(x_0,y_0)$. for this I minimize the distance between points $(x,y(x))$ and $(x_0,y_0)$, here's an example for point ...
16
votes
4answers
1k views

Plotting a contour on a torus

There are two ways to consider a two-dimensional torus. One way is to take a parallelogram (let's say the square $[0, 1]^2$) and topologically glue the opposite edges. Another way is to look at the ...
5
votes
2answers
434 views

Transcendental equation with ContourPlot3D

I am still a newbie to Mathematica, so I am still getting used to the syntax and logic of the program - but I've been trying to do the following 3D plot: ...
0
votes
1answer
102 views

Counting Stochastic Processes and displaying relative value

Counting Stochastic Processes and displaying relative value I have two watermarks and multiple stochastic processes given. I want both to display and count the stochastic processes which are below ...
0
votes
1answer
302 views

Manipulating and plotting two interdependent functions: [closed]

I want to plot two functions. Function G8 and G9. Both should be manipulable. Function G9 should dependent on Function G8. Function G8 has a bigger starting value. If function G8 increases by δ ...
2
votes
0answers
193 views

Plotting equipotentials gone wrong [duplicate]

I'm plotting the equipotential of the potential function: $$\phi(x,y,z):=\frac{1+x^{2}+y^{2}+z^{2}}{[\left(1+x^{2}+y^{2}+z^{2}\right)^{2}-4z^{2}]^{1/2}}$$ Mathematica code: ...
0
votes
1answer
212 views

Plotting the simulation of Brownian Motions with multiple thresholds

I have the following problem: I have a watermark in this model where not only the mean of all stochastic processes is calculated, but also the mean of those processes which remain beyond a given ...
0
votes
1answer
139 views

Mathematica issue with Plot, D and SetDelayed [duplicate]

I've tried to run the following code: f[x_] := 2 ArcTan[x] + ArcSin[2 x/(1 + x^2)]; Plot[D[f[x], x], {x, -4, 4}] Same with ...
1
vote
3answers
487 views

plot a tube via a 4D plot [duplicate]

I have a function f[x_, y_, z_] := Exp[-x^2]*Exp[-z^2] which traces out a tube along $y$. Is there a way to plot this 4D function, where the plot color is the ...
1
vote
1answer
221 views

plotting output from FindRoot

I am an R user and am totally new to Mathematica. I am trying to find the roots of a system of two equations over a series of paramter values and plot the results. I can do the computation but would ...
6
votes
2answers
829 views

How can I compute and plot the 95% confidence bands for a fitted logistic regression model?

I have a set of binary data that I' d like to fit a logistic regression model to and show the 95% confidence band around the fitted function. I can produce the regression model but how do I compute ...
0
votes
1answer
106 views

Displaying Values of Fuction at end of Period by Grid

My intention is to place the values of two function into a small box within my chart. To be more precise I have two vectors. A meanvector which shows the average value of all simulated stochastic ...
1
vote
2answers
275 views

Scatterplots for subsets of multivariate data [Updated]

Update/Re-write There has been a lot of ambiguity over what i'm am trying to do with this question so I have decided to give it a full rewrite. I'm really sorry for the confusion. If you want to see ...
4
votes
2answers
216 views

Disk is displayed distorted in plot

What is the problem with my plot? I want to get a disk shape. ...
1
vote
3answers
189 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
120 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 ...
3
votes
2answers
802 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
123 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
333 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
139 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
117 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
122 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
256 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
154 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
191 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
129 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
224 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
283 views
2
votes
2answers
175 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
264 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
461 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
94 views

Cannot Plot Output of Solve

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

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

after plotting this function: ...
0
votes
1answer
532 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
412 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
589 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
469 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
725 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
1k 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
616 views

Projection of ContourPlot3D

Suppose I have the following ContourPlot3D: ...