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

learn more… | top users | synonyms (4)

0
votes
0answers
93 views

DensityPlot on spherical surface? [duplicate]

I just checked this example Construct a Globe Showing All Weather Stations. It looks good, but I would like to add a density plot of the stations on the spherical surface. This can be done with the ...
4
votes
1answer
309 views

iterating piecewise linear maps on [0,1]

I have been trying to make code work for iterating piecewise linear maps on the unit interval in Mathematica to compare with MATLAB and Maple. Tent and logistic maps are easy to implement but ...
5
votes
2answers
415 views

Contour plot doesn't look right

I have an implicit function expression ...
6
votes
2answers
307 views

Distorted graphics when using custom ticks and AspectRatio -> Full

I am having a problem using custom tick specifications along with AspectRatio -> Full. The problem affects both Ticks and ...
1
vote
2answers
547 views

How to make plot with frame and two different scales on the x-axis (CMB power spectrum example)

Let us take CMB spectrum as an example. I get data of $C_l$ as a function of multipole moment $l$. Also, multipole moment is a function of angular scale. The question is: how to make a plot with a ...
2
votes
1answer
205 views

Grid generation around airfoil from data

Here is the data http://wikisend.com/download/405620/datapoints.dat I have (x,y) data for a grid around an airfoil and I am trying to figure out how I can draw radial and polar lines for the grid to ...
1
vote
2answers
488 views

Parametric plot from two NDsolve solutions

I have two independent ODE systems. A = NDsolve[..., {x, y}, {t, 0, 10}]; B = NDsolve[..., {a, b}, {t, 0, 10}]; I can draw a ...
11
votes
4answers
469 views

What is a good way to plot some difficult implicit equations?

Here are several equations, it seems that Mathematica couldn't plot them well, although I set PlotPoints>100 ...
17
votes
2answers
2k views

What are the possible ways of visualizing a 4D function in Mathematica?

I have a function $F$ that maps the xyz space to a set of reals, more clearly: $c = F[x,y,z]$ Where $c$,$x$,$y$ and $z$ are reals. What are the possible ways of visualizing this 3d function in ...
2
votes
1answer
71 views

Plot axes invisible when projected

When I save plots made in Mathematica in PDF format and then insert them in a presentation (e.g., in Powerpoint), the plot axes are invisible in the picture created by the projector. Is there a way to ...
11
votes
1answer
452 views

Styling individual bars in a BarChart with grouped data

Consider the following: ...
14
votes
4answers
355 views

How can I decimal-align tick labels at the left?

I use the CustomTicks package, because the built-in tick labeling leaves a lot to be desired. Even just putting the tick marks on the right instead of the left is ...
8
votes
3answers
548 views

Pass list of options to Plot3D

Consider the example plotOptions = {PlotPoints -> 10, MaxRecursion -> 2} Plot3D[x y , {x, 0, 10}, {y, 0, 10}, plotOptions] Why does this causes the error: ...
2
votes
1answer
274 views

How to plot an Operating Characteristic Curve using Hypergeometric distribution?

I"m trying to plot an OC curve (y-axis Probability of acceptance, x-axis Lot Percent Defective) and there should be a way to plot using a hypergeometric distribution. ...
6
votes
2answers
260 views

Different highlight for each cluster in DendrogramPlot

Is there any way to have each cluster in the DendrogramPlot highlight in a different color? I've tried the obvious way but it doesn't work: ...
2
votes
1answer
378 views

Having problems with importing data in .dat format

I have a .dat file from FORTRAN output and I am trying to plot the results. The dat file is a series of rows with the row number as the first column. Now, every other row is empty, that may be ...
6
votes
1answer
199 views

ScalingFunctions not working properly for x-axis

I am trying to make a chart where the x-axis has a log scale and the y-axis is in reverse order. I tried to use LogLinearPlot, and I tried to combine it with ...
10
votes
1answer
320 views

How can I get LineLegend to pick up my plot's BaseStyle?

The new legends functionality in version 9 really simplifies creating legends, and it automatically picks up the styles of the lines. ...
3
votes
1answer
200 views

Wavelets: Relative error vs compression ratio

I need to plot the relative error vs compression ratio diagram of a discrete wavelet transform on an image, but no luck so far .. Here's the problem in short: random_image.jpg compress the image ...
2
votes
0answers
67 views

How do I eliminate the breaks in a 3D plot with a Max or Min function? [duplicate]

Whenever I make a 3D plot using the Max or Min functions, I get breaks in the plot when it switches from one expression in ...
10
votes
2answers
2k views

Creating a simulation of our Solar System

As the title says, my objective is to create a simulation of the motion of the planets in our Solar System using Mathematica. All the theoretical background regarding the equations of motion of ...
7
votes
3answers
364 views

Plotting a 3D list causes kernel to crash if x and y axes have vastly different scales

I have access to two versions of Mathematica, version 7.0.1 on Linux and version 8 on Windows. When I try the following two lines on version 7, the kernel quits when it tries to plot. In version 8 ...
2
votes
1answer
255 views

Using mesh for a single function inside Plot

Plot[{Sin[x], Cos[x]}, {x, 0, 10}, Mesh -> {{0, \[Pi]}}, MeshShading -> {Black, Red}] In the above, how can I specify that I want the mesh for just, ...
3
votes
2answers
314 views

ListLinePlot filling for accumulated data

I have 23 variables (energy production units) which take values for each hour of the day (energy dispatch table). Here is a PasteBin example of data. I am trying to represent the distribution of the ...
4
votes
1answer
147 views

Extending a plot over a secondary variable

Apologies for the vague title; couldn't really think of a better way of putting it. I have a function $F$ of two variables, $\rho\in[0,\infty)$ and $f\in[0,1]$, that I wish to create a plot over ...
5
votes
2answers
187 views

How can I retrieve the point coordinates from a LOG Plot after the data points were manually moved?

I'm having problems with getting coordinates out ofa ListLogLogPlot I basically plotted a list, then selected data points on the graph, moved these points around, ...
2
votes
2answers
528 views

How to generate a 3-d simple cubic lattice of length 4 in each dimension?

LatticeData["SimpleCubic", "Image"] The above line gives me a single cube (2 lattice points in each direction). But I want a lattice with 4 lattice points in ...
6
votes
2answers
242 views

How can I convert this ListPlot to ArrayPlot?

I want to rewrite this code with ArrayPlot, ...
6
votes
1answer
317 views

Can you fill in a closed curve? [duplicate]

Imagine I have a have a set of points that form a closed curve (or simply a circle), I normally just list plot these points and join the dots. However, I now have the need to fill in this closed ...
8
votes
2answers
252 views

How can automatic ticks be made “outie”?

By default, FrameTicks stick into the data area in a way that is sometimes uncomfortable. ...
26
votes
2answers
1k views

Specific initial sample points for 3D plots

PlotPoints lets you determine how many sample points you want in each direction, but sometimes I want specific ones. For Plot ...
21
votes
3answers
423 views

How does one adjust ColorFunction quality independently of surface quality?

I have a function $f:\mathbb{C}\rightarrow\mathbb{C}$ which I would like to visualize by by plotting $|f|$ with Plot3D using $\operatorname{Arg}f$ as the ...
5
votes
2answers
2k views

How do I make a 3DPlot using cylindrical coordinates?

I'm trying to plot a function of the form $z(r,\theta)$ where $r \in [0, R]$ for a finite R, $\theta \in [0,2\pi[$, and z is the third coordinate, a function of the first two. I couldn't find anything ...
0
votes
1answer
170 views

Plot result from the function of NDSolve

I have a solution that I got from NDSolve which are ua and uw. ...
0
votes
1answer
142 views

Discrete 3D plots of median ratios of two 2D matrices of lists of values

Lets say I have 2 2D arrays where each cell contains a list of values: Example: ...
11
votes
2answers
333 views
9
votes
1answer
233 views

PlotMarkers doesn't inherit PlotStyle when first argument to Graphics isn't a list

Could somebody explain, why Circle does not inherit the PlotStyle of the plot when used as ...
6
votes
4answers
774 views

Obtaining better quality in ListPlot

I have a data file which can be downloaded from here. In order to plot this, I use the following Mathematica code ...
7
votes
1answer
479 views

How to avoid font substitution with Mathematica fonts?

When I export a Plot to PDF, a journal publisher complains that they do not have the Mathematica fonts. I believe there is a way ...
1
vote
1answer
370 views

Graph and manipulate DSolve result

Given a DSolve example: ...
7
votes
2answers
713 views

How can I fill under a function in a plot just to right of a specified vertical line?

How do I plot a normal curve with filling under the curve and to the right of a vertical line. I would prefer that the vertical line starts at the x-axis and stops at the plotted curve. Basically ...
5
votes
1answer
193 views

How to plot points with uncertainties and dates assigned?

I want to plot a graph from list of points, but each point also has uncertainty assigned AND date. Without uncertainties DateListPlot works great, without dates ErrorListPlot works OK, but how it ...
0
votes
0answers
49 views

MATLAB-like convolution and derivation using Mathematica [duplicate]

Possible Duplicate: Discrete Convolution I would like to be able to convolve two functions of two variables in Mathematica, and then plot derivatives (or functions of derivatives) of the ...
1
vote
1answer
97 views

When is Evaluate needed within function arguments? [duplicate]

I'm trying to do a simple variable substitution within a ContourPlot, but it's not working. Here's an example: ...
1
vote
1answer
207 views

ListPlot with labels that appear when the pointer goes over the points

I would like to generate a ListPlot with labels that appear when the pointer goes over the individual points. Specifically, I have a table of dimensions ...
3
votes
1answer
414 views

DensityPlot with one log axis

Is there any way of generating a density plot (or something similar) with one of its axes on a log scale? Essentially I'm trying to combine a LogLinearPlot and a ...
7
votes
1answer
497 views

Plot cross sections of a function

I have been learning how to use Mathematica for the past few weeks, and recently I have been trying to recreate something along the lines of this. Given a function, I want to create a 3d plot of ...
6
votes
2answers
314 views

Are plotting markers with inscribed letters possible?

I have large data consisting of values obtained by sweeping across three parameters (e, w, and f). I want to plot all this data on one graph using different shapes for e (e.g., circle, triangle, ...
6
votes
2answers
270 views

BoxWhiskerChart with logarithmic axes

I would like to make a following chart Ideally I would also like to control the boxes position on a logarithmic x-axis. Some inspiration how to do the latter may be found in the answer to my ...
4
votes
1answer
118 views

How do I avoid the gaps introduced by a frame on a plot?

You can see that there are gaps on all sides of the plot between the frame and the extent of the line that I've plotted. How do I get rid of these? I'd like the frame to cover $[0,1]\times[0,1]$ and ...