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

learn more… | top users | synonyms (12)

1
vote
1answer
41 views

How to extract data for a particular contour line in text file?

I am interested in the data for which the contour line gives 0 value in the above image. I have, of course, the data file from which I created this image but is there any way to find out the ...
1
vote
1answer
44 views

Removing Axes values in DiscretePlot3D [duplicate]

I have a discrete 3D plot from which I want to remove the axes labels and values. To demonstrate what I need, lets consider an example from the Mathematica ...
3
votes
1answer
74 views

plotting after solve does not display anything

I'm quite new to Mathematica language, I am trying to figure out where I am making mistakes in Plotting a specific function that depends to other variables: I want to plot ...
3
votes
4answers
175 views

Changing The Colour Of A Contour Plot

I have produced used the following code to create a contour plot: ContourPlot[Cos[x] + Cos[y], {x, 0, 4 Pi}, {y, 0, 4 Pi}] However, I would like to modify this ...
3
votes
1answer
70 views

How to align text to left and output to right, in manipulate?

I need to show a layer of information on a 3D graphics, inside a manipulate box. Currently, all the code is working great, except that the text should be aligned to the left, while the output numbers ...
0
votes
0answers
94 views

SciDraw: Vertical axis not copied into Word 2013 (Windows 7, Mathematica 10.1 SE)

Using the SciDraw package, I created a multi-panel figure of list plots with labels along both the $x$ and $y$ axes. But when I copy/pasting the result into Word, the vertical axis labels are nowhere ...
2
votes
1answer
56 views

Test different parameter values in DiscretePlot

I have a discrete dynamic model with two variables $x$ and $y$ as: $x_t =ax_{t-1}+by_{t-1}$ $y_t =cx_{t-1}+dy_{t-1}$ where $a, b, c, d$ are parameters. I would like to plot how the movement of <...
2
votes
0answers
83 views

Using SHP files to draw a density map [closed]

My SHP file of census block groups has polygons and associated employment data for each block group. Is there a simple way to draw an employment density map? I've played around with ...
3
votes
2answers
162 views

ParametricPlot3D colorfunction for a specific region of an object

I have created a 3D parametric plot of an oblate spheroid, and I want to apply "TemperatureMap" as a colorfunction to its surface as a gradient in the Z direction. However, I only want to apply this ...
1
vote
2answers
117 views

Anomalies and discontinuities in StreamPlot [closed]

s1 = StreamPlot[{1, 2*x*y^2}, {x, -3, 3}, {y, -3, 3}]; s2 = Plot[1/(4 - x^2), {x, -3, 3}, PlotStyle -> Red]; Show[s1, s2] In this problem the solution is ...
2
votes
2answers
58 views

Automatic Ticks on x-axis, but not first 5% of x-range

I would like to have Ticks->Automatic, but not have the Ticks in say the first 5% of the range on the x-axis. So like this but not this (ticks too dense using regular tick interval of 1)
3
votes
3answers
206 views

Create graphic object using {x,y} points, and plot a contour over it

I am trying to create a graphics object (polygon built with {x,y} points)so I can plot a contour over it. I would like the coordinates of the contour plot and graphics object be matched (ie, {0,0} in ...
3
votes
1answer
58 views

Running out of PlotStyles for multiple curves within one graph in black and white

This is related to the following thread "Plot curves different way so that one can see them when printing black and white" But because my curves are close to each other in some regions, so just ...
7
votes
2answers
339 views

Plotting the image of a curve under a flow

I have some explicit time-independent vector field on the plane, and I would like to study how points evolve under the flow generated by this vector field. The flow is rather complicated and cannot be ...
1
vote
2answers
85 views

How to add text with output on a 3D manipulate

I need to add a string of text with some output data at the bottom-center of a manipulate output. The manipulate output itself is 3D. Here's a MWE to work with : ...
3
votes
2answers
198 views

How can I get a smooth plot of a bounded region?

From the iterated integrals $\int_{0}^{1}\int_{\sqrt{y}}^{1}\int_{x^{3}}^{1}f(x,y),$ we have the region $$\Omega=\{0\le y\le1,\sqrt{y}\le x \le 1,x^{3}\le z \le 1\}.$$ How can I use Mathematica to ...
4
votes
2answers
144 views

Scatter plot with bar markers

I'm trying to essentially make a scatter plot where instead of points, the markers are bars that connect the point to the bottom of the graph (like a histogram). My problem is that my graph has ...
3
votes
0answers
44 views

Highlighting individual 'cells' in Matrix/ArrayPlot [duplicate]

I am plotting some matrices / arrays via MatrixPlot and ArrayPlot, and I would like to highlight several of the cells via ...
8
votes
2answers
285 views

Why is ListPlot[] so slow for coordinate pairs? Can we speed it up?

I compared the time it took to create a plot in two different ways. I expected the first method to be slower, but I was surprised at how much. Is this an inherent limitation or the function, or are ...
1
vote
1answer
121 views

How do I plot a parametric family of curves given a list of parameter values?

I tried plotting the function shown below in Mathematica; however the plot showed nothing. Could you help me explain it? Note that here D' = 1- x. ...
1
vote
2answers
91 views

How to change the axis on this ListPlot?

My bifurcation diagram almost works, but I can't figure out how to replace the point number on the horizontal axis with the x coordinate from my calculation. I have tried a whole bunch of things that ...
1
vote
1answer
62 views

LocatorPane in Manipulate blocks interaction with other graphics

I have a Manipulate that uses LocatorPane on a ContourPlot to move some a ...
3
votes
1answer
171 views

How to do individual axis labeling with use SciDraw multipanel figures?

I am trying to make a 6 panel figure for publication where each X and Y axis has its own label. Here is simplified code and its output: ...
6
votes
1answer
171 views

Smoothing the Sharp Undesired Points in ListPlot3D

I have a large list at list3, when I use of ListPlot3D list, I face to some undesired points which are sharp and caused by calculation error. I want to replace them ...
3
votes
1answer
47 views

How to get DateListPlot Epilog to display shapes

The following should produced a plot with an orange outlined disc labelled "A" on the dotted line. Epilog produces the dotted line and the text label but is unable ...
0
votes
1answer
80 views

How to plot multiple graphs with same x-axis values on the same graph? [closed]

If I have multiple variables y1, y2, y3, y4 for y-axis and phi values for x-axis, then how do I plot these variables, indicating each variable with different black marker? My code is ...
2
votes
1answer
54 views

Simple plot but the origin is not clear [closed]

I am having problem with the simple plot below. Plot[1/(1-x), {x, 0, 1}] I got the result: As you can see the origin (0,0) is not clear. The value of the function at x = 0 is one but it is not ...
0
votes
1answer
68 views
3
votes
0answers
112 views

Export a 3D list plot file to 3D viewing format

I am not quite aware of 3D file formats which I can export from Mathematica; I have the following problem. I have a very large 3D list plot (with axes labs, plot legends etc..) from my experiment. ...
1
vote
1answer
63 views

Different Mesh lines and styles in the same plot

After searching, I learned how to make "GridLines" in DensityPlot by Mesh/MeshFunctions. Here I'd like to draw an addition Mesh line at Q=6^(0.25) via Mesh/MeshFunctions or other ways and highlight ...
1
vote
1answer
176 views

Move a point along a curve

I am trying to implement the de Casteljau algorithm to trace a point along a Bézier curve. I already have the Bézier curve in place given by the control points ...
1
vote
0answers
58 views

How to get a plot generated by ggplot2 in R ggplot returned in an output cell [closed]

I'd like to get a plot generated by ggplot2 in Mathematica but using the getRPlot function doesn't seem to work: ...
0
votes
1answer
42 views

Manipulation of ListPlot of an imported list versus first elements

I have seen 1& 2 but I could not find an answer helping me. I have created (by another program) a list as below: ...
1
vote
1answer
57 views

Artifacts in DensityPlot for Mathematica 8.0?

I am using the following code in Mathematica 8.0 DensityPlot[Sin[5 x], {x, -10, 10}, {y, -10, 10}, PlotRange -> All] The plot should clearly be independent of ...
3
votes
1answer
113 views

Strange behavior with SliceDensityPlot3D using custom surfaces, Mesh lines have a great influence on the density plot

In this answer I was trying to make a 3D stack of disk-shaped density plots, so I was using ListSliceDensityPlot3D. I resorted to using a set of nonrectangular ...
0
votes
1answer
82 views

manipulate with Plot

Facing problem with using manipulate along with Plot. Below is the function call where I have only one parameter to change, hence plot is not allowing. Searched for various options but not able to ...
1
vote
1answer
66 views

Plotting intensity field function of albedo and optical depth using Fast Spherical Harmonics on radiative transfer

This code was written by Markus Roellig, and I'd like to mention that all credits should go to him. Please, see this link to open his original writing. ...
0
votes
1answer
51 views

Manipulate curves [duplicate]

I want to draw curves with manipulation. When I use the following code, I receive nothing. ...
1
vote
1answer
147 views

3D Stack of Disks with dedicated height plots

i have a problem which I could not solve yet because it is rarely discussed in the web. I have a Dataset, representing z-Values (e.g. Qualities 1-7) on distinct points of a circle (center=0,0; x-...
6
votes
1answer
101 views

How does the undocumented option ScalingFunctions work with Plot versus ListPlot?

Say that I want to reverse the x-axis of a plot, there are a few solutions on here (like those in the answers here and here) but most of them are valid only for a ...
3
votes
2answers
161 views

Plotting Planck's function and unexpected results

I have the code below. If you look at the plot, you can see a strange behaviour. The function goes to zero as λ->0 but you can see the plateau below ...
4
votes
2answers
138 views

reversing plot axis for Plot, LogPlot, LogLogPlot

Is there a simple way to reverse axis on a plot (all --- Plot and LogPlotand LogLogPlot). I ...
2
votes
1answer
94 views

Generating plot legends [duplicate]

I want to generate a list as below for the legend of my plot, {D=0, D=0.5, D=1, ...} using the code ...
1
vote
1answer
66 views

Labeling x,y,z coordinates in ListPointPlot3D [duplicate]

I am VERY new to Mathematica, and am having some difficulty with visualization. I have a series of points in 3 dimensions (x,y,z) being read from an Excel file. I can visualize the plot fine using <...
2
votes
2answers
61 views

How to mix symbols and text for labels in manipulate? [closed]

I'm creating a big manipulate box with several sliders, and each slider must have a small explication text (units, for example) after a mathematical symbol. As a simple example, here's the code I'm ...
0
votes
0answers
97 views

Slow and laggy animation of an electromagnetic wave

I made a manipulate code of an electromagnetic plane wave which works relatively well, but is very slow and laggy for what it does (showing just a bunch of rotating or oscillating arrows). What is ...
0
votes
1answer
54 views

How do I combine a ListPlot and a Magnitude BodePlot [closed]

I have frequency response data from a lab test. I can make a ListPlot of the data. I have theoretical frequency response plotted as a BodePlot. I want to combine (overlay) the lab data on the ...
1
vote
1answer
74 views

Plotting a two lists generated after running a for loop [closed]

So i had to model and solve a harmonic oscillator, being driven by a random driving force. I have managed to finish that and my program is: ...
1
vote
1answer
160 views

How can I implement a moving standard deviation for a time series?

I imported the following dataset and converted it into a time series. ...
3
votes
1answer
100 views

How to reconstruct a given schematic picture from color image

There is a nice website on popular Economics with stylish picture. ...