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

learn more… | top users | synonyms (12)

0
votes
1answer
119 views

Place cells side-by-side

Is there any way to place plots/cells side-by-side? I know how to put plots in arrays and grids. The motivation for putting cells side by side is that I want the equations for the plots to be above ...
2
votes
0answers
48 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 ...
18
votes
2answers
2k views

Arrows on axes in Plot3D

I use the following code to draw Arrows on Axes in 2D graphics: ...
1
vote
1answer
69 views

Narrow a Drawing Tools Window

I used the Graphics->New Graphic, then the Drawing Tools to create this in my notebook. Now, you can see that there is ...
0
votes
0answers
32 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
218 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
81 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
62 views
1
vote
1answer
261 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
52 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}?
4
votes
2answers
137 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 ...
4
votes
2answers
522 views

Different MeshStyle for different functions

By using Plot command I want to get one curve in form if circles and other like a solid line. ...
1
vote
1answer
185 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 ...
3
votes
1answer
210 views

How to hide and show graphics within Show (in Manipulate)

There is a well documented way to "Dynamically Hide and Show Plots" (link). In the example 'Opacity' option is effectively used. Is there an efficient way to make the same functionality with "Show"? I ...
2
votes
1answer
138 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)} = \frac{2Qz_n^4|z_n|+6z_n^3+...
2
votes
1answer
126 views

How to constrain the range of a plot of a function to satisfy an inequality?

Given the function f[x_] := x^2, how can I plot f[x] over the range where f[x] >= 10 and <...
-1
votes
1answer
139 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
99 views

Graphics Plotfield

A number of older books use the command: <<Graphics`PlotField` But Mathematica 10.0.2 says it cannot find it. Now, I know ...
0
votes
0answers
105 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: ...
0
votes
0answers
81 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 ...
7
votes
3answers
295 views

How could I upload a XLS file to Cloud and then plot it?

Bug introduced in 10.0 and fixed in 10.3 or earlier I want to upload a file to the Wolfram Cloud and plot the list: So I use the following code to check its head at the beginning: ...
0
votes
0answers
33 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 ...
0
votes
1answer
133 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 2-...
0
votes
1answer
122 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: ...
2
votes
1answer
214 views

Copying each object in a plot separately as an image

I would like to copy a plot from Mathematica as an image, into a PowerPoint slide. This plot has two curves. When I try to do the (naïve) usual "copy graphics" and paste, I find the full plot (along ...
4
votes
2answers
1k views

What is the best way to make a plot complete with legends so it is exported-ready for Word?

I want to put my Plot output into an MS Word document without having to edit it in Corel first, so I want to export it ready for Word in vector format complete with legends, expressions, axes, and ...
3
votes
2answers
121 views
1
vote
0answers
47 views

Mapping Plot Accessories with Random Choices [closed]

I am plotting two functions (some times n functions) as below: ...
6
votes
1answer
140 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: ...
4
votes
2answers
155 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: ...
0
votes
2answers
80 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. ...
3
votes
2answers
118 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 ...
1
vote
2answers
86 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 ...
1
vote
2answers
231 views

How to change the scale of a ListContourPlot to logarithmic and combine it with a LogLinearPlot

My questions are: 1) how can I change the compressed scale to fine one like {y = 0.1, 1, 10}, {x = 0.01, 0.1, 1, 10, 100}. ...
5
votes
0answers
73 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, ...
0
votes
1answer
58 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
46 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: <...
0
votes
1answer
97 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
1answer
222 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}}\,, $...
26
votes
2answers
2k views

Trying to Visualize a Collatz - The Collatz conjecture

I happen to have this collatz collatz[x_, y_] := If[x == 3*y || x == 2*y + 1 || y == 3*x || y == 2*x + 2, 2, 0] So i want a visual 3D adjacency graph of my ...
1
vote
1answer
96 views

PametricPlot3D vs ContourPlot3D

Basically, I don't know whether I am missing something mathematically fundamental or I misued Mathematica's functions. ...
22
votes
7answers
7k views

Using PlotLegends with Show messes up the graphics

I have already obtained the plot that I want but am having trouble legending the graph correctly. ...
6
votes
3answers
649 views

Opacity and overlapping multiple polygons

Let's say I have 100 polygons that are all different but most of them overlap. All I want to do is to draw/plot them in one single graphic with linearly adding gray values; i.e., a point with ...
9
votes
2answers
135 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 ...
0
votes
0answers
52 views

Exploring contours plots of two Binormal distributions

I am facing a little interesting problem. Let´s suppose two binormal distributions, as follows: ...
2
votes
3answers
124 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!
0
votes
2answers
72 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
70 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 E_x^...