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
2answers
86 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
201 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
146 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
287 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
131 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
174 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
49 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
81 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
64 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
178 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
59 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
43 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
114 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
83 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
162 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
76 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
163 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. ...
3
votes
1answer
90 views

Densityplot: isolines

I'm plotting a densityplot map from interpolated data. I need to draw lines in which the value of my function is constant (isolines), but to be constant is not the function itself but a manipulation: ...
6
votes
3answers
160 views

Specify range and reverse for colordata in contourplot

The following two examples work ...
12
votes
1answer
890 views

Why is this 2D plot so slow?

I first do a 3D Plot of four surfaces (eigenvalues of a $4\times4$ matrix) over $kx,kz$ (setting $ky=0$ all along). And then I try to give a 2D plot along three connected particular lines in $kx,kz$-...
3
votes
4answers
242 views

ParametricPlot3D for only part of a sphere

I want to plot the region of a sphere that satisfies the equation $$ \tan\theta\geq-\frac{rz}{rx\cos\phi + ry\sin\phi} $$ where $rx$, $ry$, $rz$ are known constants. The spherical coordinates $\...
2
votes
1answer
114 views

Solve and plot differential equation

I want to solve this differential equation $\qquad y'(x)=\frac{x-y(x)}{1-y(x)-x}$ and plot it's solution. But DSolve doesn's work. ...
7
votes
2answers
207 views

Plotting a function with three real arguments using transparency

I would like to plot a real function with three real arguments by assigning a transparency and color to the function values. The smallest value in the plotting range should be fully transparent, the ...
1
vote
1answer
98 views

How to improve speed of the following code

The following code do what I needed, but it takes too long ...
1
vote
0answers
69 views

How to properly set ColorFunction and Specularity in ReliefPlot [closed]

I have two questions about ReliefPlot: How can I set the Specularity without changing ...
0
votes
1answer
63 views

How to plot equally discrete points? [closed]

I'm trying to create a table of equally discrete points and plot them with: a = 5 ListPlot[Table[{a/9*(i - 1), a/9*(j - 1)}, {i, n}, {j, n}]] But I cannot plot ...
4
votes
2answers
92 views

Ex-post monochome plots [duplicate]

I need to "monochromize" a large amount of plots (mostly coming from ListPlot) and export them to PDF. The problem is that I no longer have the data used to ...
1
vote
1answer
52 views

Adding Color to StringForm PlotLabel

I have: ...
3
votes
2answers
85 views

Plot markers for monthly data

I have the following data ...
16
votes
3answers
462 views

How to group and join points

It seems there are many similar questions on Mathematica.SE, but none addresses (to the best of google) exactly my problem. I have the following data: ...
3
votes
1answer
123 views

RegionPlot with different boundaries

I would like to plot different regions, some of them with different boundaries. For instance if I use ...