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

learn more… | top users | synonyms (8)

4
votes
2answers
79 views

How to plot against scaled axes?

Say I have some plot, such as: Plot[Exp[-(x - 2)^2/(2*1^2)], {x, 0, 6}, AxesLabel -> {"x", "f(x)"}] But I want to present it with the axis labeled as ...
4
votes
1answer
89 views

How to adjust the parameter of TextureCoordinateScaling

I wanna draw a picture like this This is my current work,First get the texture of picture ...
-1
votes
2answers
94 views

How to put single points inside the plot? [duplicate]

I wrote this simple code for a basic plot (two lines): ...
4
votes
3answers
105 views

Showing results of the previous value in Manipulate plot

I want to show a multi-variable Manipulate plot with the current and last setting together but not using Bookmarks as I want to ...
1
vote
1answer
37 views

How can I plot three data sets with ErrorBars and two different vertical axes?

I want to plot 3 data sets in an ErrorListPlot. Two of these data sets can use the same vertical axis but one has another scale and I want to show them in the same Plot with two different vertical ...
4
votes
1answer
83 views

StreamPoints adding extra information

Why doesn't the red line start precisely at the defined point $(0, 2)$ and go off to infinity? My initial condition is $(0, 2)$ and I only want to see where that trajectory goes off to. ...
3
votes
2answers
161 views

Making a better looking plot legend

I want to plot two (or more) functions, inserting in the plot itself the legend that will clarify me what are those plotted functions. I know this basic standard command lines: ...
0
votes
1answer
85 views

3D-plot region between two curves

I'd like to 3d-plot the region between the infinite cone: $z=1-x^2-y^2$ and the plane: $z=1-y, z \ge 0$ in Mathematica 10. Also i'd like to know if there is any way (in Mathematica) to calculate the ...
1
vote
1answer
45 views

Need help with “Filling” in a plot, generated with a table. (Wavefunctions)

I'm trying to get a result like this: ...
2
votes
0answers
33 views

Exporting or save graph to pdf, when will the rasterization occur?

For simple graph Plot[Sin[x], {x, 0, 10}] No matter right click save as pdf or export as pdf, the result is vector image. But for ...
0
votes
0answers
29 views

Changing AxesStyle for 3D plots to include arrowheads on the axes [duplicate]

I like to have arrowheads on my plots. For example, Plot[Sin[x], {x, -3, 3}, AxesStyle -> Arrowheads[.05]] This puts arrowheads on the ends of the positive ...
3
votes
3answers
205 views

Easy code to toggle between a graph and a blank graph

I am creating many graphs using Plot, Plot3D, VectorPlot3D, etc... I like to toggle my ...
2
votes
1answer
71 views

How can I iterate a function up to a certain integer and plot the resulting functions to a single graph [closed]

Firstly I'm sorry if this has been asked before, but I couldn't find what I was looking for. Say I have a function: f[x, a] := x^2 + a Is it possible to plot a ...
2
votes
1answer
48 views

Flipping Origins of Axes 3D Plot

This is the code I am using: ...
1
vote
1answer
215 views

Basins of attraction of equilibrium points

The Henon-Heiles potential is the following V = 1/2*(x^2 + y^2) - y*(1/3*y^2 - x^2); which has four equilibrium points ...
-1
votes
1answer
47 views

Syntax for plotting a CDF of experimental data

What is the syntax for plotting cumulative distribution function of the following collected data {0.1, 0.7, 0.1, 0.9, 0.3, 0.2}?
1
vote
1answer
113 views

packing of smaller spheres onto a bigger one

I want to estimate the maximum number of smaller spheres (of known constant radius, r) that can closely pack around a bigger sphere (of radius, providing R >= r). It would be much appreciated if ...
0
votes
0answers
77 views

basin of attraction in 3D

I am trying to find a basin of attraction for a 3 dimensional ODE. I am not sure why it isn't working since it worked great for the 2D case. Any help would be much appreciated. My attempt: ...
-1
votes
1answer
95 views

Fabry-Perot interferometer using Airy function in Mathematica

I am trying to plot T(transmission) and R(reflection) coefficients. I am new at Mathematica, so please excuse possible crude errors. This is my code: The output gives just an empty animation ...
0
votes
0answers
61 views

Plotting equalities with Plot3D

If I do this Plot3D[Cos[y] Sin[y] == Sin[x] Cos[x], {x, -2*Pi, 1.5*Pi}, {y, -2*Pi, 1.5*Pi}] I get this output But if I do this ...
4
votes
2answers
145 views

How to customize color scheme to mimic that in Origin?

Origin is a software for plotting. The standard color scheme used by Origin is So how to mimic this color scheme in mathematica, so we can use it in ...
2
votes
1answer
121 views

Basins of attraction using Newton's method Part II

For the function $F(z;Q,a) = 3z - \frac{z}{|z|^3}\left(1 + \frac{3a}{2|z|^2}\right) - Q$ the Newton iteration formula is $z_{n+1} = z_n - \frac{F(z_n;Q,a)}{F_z(z_n,a)} = ...
0
votes
0answers
31 views

Jagged look in PolarPlot with cycles > 5 [duplicate]

While developing my submission “An Asymmetric Spirograph” http://demonstrations.wolfram.com/AsymmetricSpirographs/ I ran into a problem with autorun: the drawings look very jagged. It turns out this ...
1
vote
0answers
37 views

Mapping Plot Accessories with Random Choices

I am plotting two functions (some times n functions) as below: ...
1
vote
1answer
99 views

How to make a ListLinePlot from part of data? [closed]

a) I have tide data for 1 year (365 days). It is easy if I only make a graph for all data using ListLinePlot. The structure of the tide data are: rows = 365, and ...
0
votes
1answer
45 views

Stretching a parametric plot [closed]

I am trying to plot the simple parametric function given by ParametricPlot[{0.5 x (1 - x^2), 0.5 x (1 + x^2)}, {x, 0, 0.75}, AxesLabel -> {a, b}] ...
3
votes
2answers
98 views

Is it possible to have a ListPlot with a FrameLabel but no ticks?

I'm trying to format a plot so that there are no ticks or scale on either axis, but there is a label on each axis. I think AxisLabels are hard to read and would prefer to have the labels where ...
0
votes
2answers
77 views

Graphing a Line and two Points in 3D

I'm trying to graph a line with a white dot at one end and a green dot at the other end. This is what I have and it's not working. I can't figure out why. ...
1
vote
2answers
151 views

Plot from data containing “e”

I have data as a "dat" file exported from matlab in this format: ...
0
votes
1answer
112 views

How to plot point by point in a for loop?

I first apologize for my english which is still approximative and for the spelling, I hope all will be clear. My problem is the following: I need to first solve a non-linear implicit ...
1
vote
2answers
73 views

How to show many normal distribution curves in one plot

I have about 30 PDFs (normal distributions). The mean of each is 0.386, but every one has a different standard deviation. I want to show them all together in a single plot with different color and ...
0
votes
1answer
50 views

How to produce a outer frame around a plot [closed]

The following question is related to plots and graphics. For a plot: ...
0
votes
2answers
30 views

Plot Piecewise does not work with NDSolve, works with ordinary function [closed]

How to join output from NDSolve with another function in a plot, using Piecewise or something else? I could join a simple function with another in a plot, but could not do it for the output. MWE: ...
3
votes
2answers
120 views

Using RevolutionPlot3D to visualize a volume

I am working with some calculus students and trying to visualize solids of revolution. RevolutionPlot3D works well for this, but I am having a bit of difficulty with the syntax of the command. The ...
0
votes
1answer
86 views

Move figure to origin [closed]

I have used PixelValuePositions to get coordinates from a figure. But I would like to move the figure, so the origin is in the middle of the figure. An example ...
4
votes
0answers
56 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, ...
3
votes
1answer
84 views
1
vote
1answer
84 views

PametricPlot3D vs ContourPlot3D

Basically, I don't know whether I am missing something mathematically fundamental or I misued Mathematica's functions. ...
0
votes
1answer
104 views

Plotting two variables indirectly dependent on each other

I have the following system of linear ODEs for "i" number of species "c" migrating in "j" number of habitats: ...
4
votes
2answers
122 views

How to set the bar exactly in the center of plot marker?

ErrorListPlot usually does not put the error bar exactly in the center of the plot markers. For example: ...
3
votes
2answers
114 views

BarChart with empty bars removed

Consider the following BarChart: ...
4
votes
1answer
168 views

Plotting Riemann Surface of $w(z)=\sqrt{1-z^{2}}$

I'm working in the plotting the Riemann surface of two functions, namely: $$ w_{1}(z)=\sqrt{1-z^{2}} \,, $$ and $$ w_{2}(z)=\tanh\left(k\sqrt{1-z^{2}}\right)-2iz\frac{\sqrt{1-z^{2}}}{1-2z^{2}}\,, ...
0
votes
0answers
41 views

Exploring contours plots of two Binormal distributions

I am facing a little interesting problem. Let´s suppose two binormal distributions, as follows: ...
1
vote
1answer
73 views

Plotting data from a Table in Mathematica

I have been able to solve some differential equations using Tables. The code works fine without errors. However, I am unable to plot the results. Any help would be appreciated. ...
7
votes
2answers
110 views

Animating a growing ListPlot

I stumbled upon this (rather contrived but interesting) integer sequence. As it exhibits quite different behaviour at different scales, I would like to generate an animated ...
6
votes
1answer
129 views

Bug in Export - known by Wolfram Support - upper plot margin depends on string length of upper horizontal axis label

Bug introduced in 9.0 and persisting through 10.3 or later ! See at bottom the answer by Wolfram Research. I am running Mathematica 10.3. For test purposes I have used the following code: ...
3
votes
1answer
76 views

Is there a way to control the placement of individual tick mark labels?

Let me start by saying there are a lot of other questions here on SE and elsewhere about tick marks in MMA but I think I am correct in saying that none of them cover exactly what I want (apologies if ...
0
votes
2answers
60 views

If Which Piecewise-defined function [closed]

How would I write a function using If and/or Which command for following Piecewise-defined function then plot the function ...
0
votes
0answers
64 views

ensemble averaging

Herephixis $\phi_{xx}$ a coherence matrix and the angle brackets denote ensemble averaging. $E_x$ is the x component of the electric field. $$\phi_{xx}=\langle ...
2
votes
3answers
109 views

Function of surface roughness

How do I draw with Mathematica a function like this? I would use a series of circles and find the surface. Thanks!