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

learn more… | top users | synonyms (4)

3
votes
3answers
411 views

How do I make a frequency heatmap?

I have an array of data that has repeats in it. I want to generate a heatmap depending on how much repetition each point has, as in how many times it is repeated.
0
votes
1answer
191 views

Plotting partial sums and its Cesàro means

I have the function as shown in the first line of the code and its partial sum in the second line of the code below. ...
1
vote
1answer
850 views

Problem with transparency when I export an eps file

I have the following simple Mathematica code: ...
4
votes
1answer
225 views

Row inside FrameLabel doesn't work in Mathematica 9

So as to automate/customize plot titles I use Row inside e.g. FrameLabel: FrameLabel -> {"x", "y", Row[...]} Now with ...
6
votes
3answers
334 views

Non-linear scaled X axis in DateListPlot

I have a lot of plots like this in Mathematica: And I would like to transform it in something like that: Where the information between 0 and 7 hours and 18 and 00 hour is "compressed" in the ...
11
votes
3answers
413 views

Using PlotLegends with a numeric PointSize

Using PlotLegends with a PlotStyle containing (for instance) PointSize[0.02] creates a ...
-3
votes
2answers
620 views

Plotting a 3D sphere i.e. how to vizualise the spanned volume $\int_0^{2\pi}\int_0^{\pi} d\theta d\phi$?

I am trying to help this guy here to vizualise the integration volume. How can I plot the different integrals ie a ball and the ball adjusted by a trigonometric function? Integrals needing visual ...
1
vote
2answers
470 views

Plotting a graph with conditions

I am a newbie in Mathematica and is currently using Mathematica v9.0. I would like to consult if anyone knows how can I plot a given functions with conditions as shown below on how they look like. ...
3
votes
2answers
182 views

Adding a coordinate label to individual squares in ArrayPlot[…]

Can I write text, or add a specific text label to individual squares of an ArrayPlot[...] graphic? Specifically, I would like to assign an two-dimensional integer coordinate label to each square.
-3
votes
2answers
155 views

How to make plots scaling consistent when running a series of simulations?

In my function it returns a plot of my data, say example, using ListLinePlot, and this is the size I obtain: but when running a series of simulations inside a Table: ...
0
votes
0answers
578 views

How can I plot a function and its partial sums? [duplicate]

Possible Duplicate: How to Plot an Infinite Series Coding mistake? I have Mathematica v9.0 and I am a newbie to Mathematica. I am trying to plot a function $f(x)=x$ over the interval ...
3
votes
1answer
372 views

How can I get better tick spacing for multiple ListLogPlots?

I am using Show with PlotRange -> All to overplot multiple ListLogLogPlot. The resulting ...
8
votes
1answer
2k views

Plot electric potential and field

I am trying to plot an electric pottentional of a dielectric cylinder along with it's field. The pottentional is a piecewise function ...
8
votes
1answer
256 views

Cannot plot Quantity values with DateListPlot

Is there a way to use DateListPlot with Quantity values? I retrieved the following time series data from WolframAlpha: ...
8
votes
4answers
554 views

How can I highlight the points lying between two lines in a ListPlot?

I have a list of numbers like the following: list = Table[RandomInteger[1000], {i, 1000}]; And I plot them so: ...
4
votes
1answer
316 views

How can I have an axis label automatically positioned below the X-axis?

I'm attempting to generate some histograms, and I'd like to automatically label the X-axis. However, Histogram[. . ., AxesLabel -> {"X", "Y"}] places the "X" ...
6
votes
1answer
273 views

PlotStyle does not work when plotting a non-evaluated list of functions [duplicate]

When a list of functions is passed to Plot in an unevaluated form (e.g. with Through), the result is a plot with single color. ...
5
votes
2answers
716 views

Plot3D with coloring based on phase value of f

I'm reading a sample chapter of Visual Complex Functions by E. Wegert. Near the bottom of this page, there is a link "Download Sample pages 1 (pdf, 2.4 MB)" which allows you to read Chapter 2 of the ...
8
votes
4answers
2k views

Sharing an axis between two plots [duplicate]

Possible Duplicate: 1 Plot, 2 Scale/Axis Do I have to code each case of this Grid full of plots separately? What's the most straightforward way to share an axis between two plots in ...
30
votes
3answers
1k views

xkcdConvert routines perform slower in Mathematica 9

I am experiencing some rather large performance decreases in Mathematica version 9.0 using the xkcd-styled plotting routines. I had used the xkcdConvert code ...
25
votes
2answers
4k views

3D heatmap density plot

I have a set of data that looks like {{x1, y1, z1}, {x2, y2, z2}, ...} so it describes points in 3D space. I want to make a heatmap out of this data. So that points ...
4
votes
2answers
895 views

How to fix BodePlot that comes with Mathematica?

I am using Mathematica to go through the examples and exercises on the book Modern Control Systems, 6th edition by Dorf. On page 605, there is a table (Table 8.5) with the Bode plot for several ...
1
vote
1answer
404 views

Combine a (2D)plot with an animation

I have a plot which is rather expensive to "present", and I want to create an animation on top of it. EDIT: "present" here does not just mean create the plot, but also to rasterize and present in on ...
11
votes
2answers
2k views

Is it possible to change the color of plot in Show?

For example: p = Plot[Sin[x], {x, 0, 1}] Is it possible to write options in Show to change the curve's color for example into ...
0
votes
1answer
289 views

How to use the same color bar for different DensityPlot [duplicate]

Possible Duplicate: Fixed color scale in multiple density plots I want to normalize different DensityPlots. The scale for the color bar is from 0 to 1. I ...
11
votes
1answer
190 views

Why are the attributes of Plot changing?

In version 9, with a newly started Mathematica session, try the following code: ...
1
vote
1answer
96 views

How do I define a function that, when given a list of parameters, plots a family of functions?

So far I've got this: draw[a_, b_] := Plot[{f[a, b[[1]], x], f[a, b[[2]], x]}, {x, 0, 5}] The function draw will be used like ...
5
votes
2answers
1k views

Log-Plots and PlotRange

Why does the PlotRange option in ...
5
votes
1answer
969 views

Problem with plotting eigenvalues

I want to plot the eigenvalues of a matrix which is dependant on a parameter (well, actually I want to plot a tight-binding electronic band structure). The dimension of the hamitonian matrix is ...
2
votes
1answer
702 views

Problem with SphericalPlot3D plotting

I want to plot the real part of the SphericalHarmonicY[1,1,θ,φ]. That is, I want to plot $$ - \frac{1}{2}\sqrt {\frac{3}{{2\pi }}} \cos[\phi ]\sin[\theta ]$$ To ...
12
votes
4answers
860 views

Domain Coloring

My next project I'd like to start working on is Domain Coloring. I am aware of the beautiful discussion at: How can I generate this "domain coloring" plot? And I am studying it. However, a ...
1
vote
0answers
152 views

Exp[I θ] + b Exp[-I θ], Part II [duplicate]

Possible Duplicate: Manipulate Exp[I θ]+b Exp[-I θ] Thought it might be best to add another question. Not sure my comment would be seen in the original question. My question is: How do we ...
8
votes
5answers
401 views

Manipulate Exp[I θ]+b Exp[-I θ]

I've uploaded an image showing a demonstration I'd like to create, but I definitely need help. There is a lot of talent on this list, so maybe someone can help me get started learning how to add ...
6
votes
2answers
715 views

How can I recreate Trott's Riemann Surface plot in Mathematica?

In reading Michael Trott's Visualization of Riemann Surfaces of Algebraic Functions, he has: ...
38
votes
4answers
2k views

How to visualize 3D fit

I have a data set of x,y,z values and I fit a function of x,y to the data. This works, but I can't come up with a nice way to ...
0
votes
0answers
587 views

Multiple ranges in one plot [duplicate]

Possible Duplicate: 1 Plot, 2 Scale/Axis Generating a broken or snipped axis in ListPlot I have data in several ranges which I, when I plot together, is not very useful. I was thinking ...
12
votes
3answers
1k views

How do I emulate MATLAB's comet plot?

I have tried the following code: ParametricPlot[{Sin[12 u] Cos[u], Sin[12 u] Sin[u]}, {u, 0, 2 Pi}] and it produced the following image: MATLAB has a ...
2
votes
1answer
200 views

Scale label problem of multiple ListLogPlot graphs

Consider the following code: ...
3
votes
2answers
426 views

FrameTicks and GridLines in DateListPlot

I would like to know what is the best way to configure one GridLine for the hour in LightGray and another for the days in ...
6
votes
2answers
442 views

How do I identify each surface in a multi-surface Plot3D?

I am plotting three surfaces on a 3D plot. They differ in the value of one parameter. Is there a way to distinguish each surface for various values of the parameter. My code is ...
6
votes
0answers
315 views

Incomplete implementation of units?

I've been playing around with the new units capability in MMA9 and I'm becoming a bit frustrated with what I perceive as an incomplete implementation of this capability and I'm wondering if there are ...
14
votes
3answers
1k views

Extracting the coordinate of a particular point of interest from a ListPlot

Is there a way to obtain the coordinate of a point of interest in a ListPlot? As an example, I have a list containing many sets of 2D coordinates and the plot ...
4
votes
1answer
183 views

Rescuing a vertically clipped histogram

I recently ran a rather time intensive calculation and plotted the results in a histogram by simply called Histogram[data]. However, because of a rather serious error on my part, I recently lost my ...
6
votes
1answer
2k views

Is there an option to change the space/distance between tick labels and axes labels for plots?

In an attempt to squeeze more plots and controls into the limited space for a demo UI, I am trying to remove any extra white spaces I see. I am not sure what options to use to reduce the amount of ...
10
votes
4answers
1k views

Creating an animation illustrating the time-evolution of a pre-computed orbit

As the title says, I would like to use Mathematica in order to create an animation depicting the time-evolution of a three-dimensional (3D) orbit. To begin with, I have an ASCII file which contains ...
1
vote
2answers
793 views

AxesLabel in RegionPlot does not work

I simply want to add labels to the axes without using the Drawing Tools menu, I tried this without success: ...
17
votes
1answer
462 views

How to get a plot generated by R returned in an output cell?

It seems we'll never have built in two axis plots and list plots in Mathematica but you can make them in R. ...
18
votes
3answers
988 views

Time-series decomposition in Mathematica

I'm studying time-series in R with this book, and there is a nice command in R that creates decompositions. Inside Mathematica 9 the command can be executed as: ...
3
votes
0answers
61 views

Extra lines in the legend of a ParametricPlot [duplicate]

Possible Duplicate: Creating legends for plots with multiple lines? Why does the legend of this plot have 5 lines (in mathematica 8, at least) instead of 3? ...
5
votes
1answer
446 views

Drawing a torus not bounding a solid torus

I am trying to make a "pretty" picture of a torus in $\mathbb{R}^3$ which does not bound a solid torus. The standard way of constructing such a thing is to first take a non-trivial torus knot: ...