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

learn more… | top users | synonyms (4)

6
votes
1answer
291 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
778 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
5k 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
3answers
996 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
464 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 ...
15
votes
3answers
3k 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
305 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
194 views

Why are the attributes of Plot changing?

In version 9, with a newly started Mathematica session, try the following code: ...
1
vote
1answer
100 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
1k 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
804 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 ...
13
votes
4answers
896 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
404 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
776 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: ...
40
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
647 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
209 views

Scale label problem of multiple ListLogPlot graphs

Consider the following code: ...
4
votes
2answers
468 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
474 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
324 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
188 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 ...
8
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
948 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
489 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. ...
19
votes
4answers
1k 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
477 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: ...
1
vote
1answer
735 views

PlotLegends doesn't work on Plot3D-V8.0.0

I am trying to plot in 3D and I need to use PlotLegend. My code is ...
3
votes
2answers
462 views

Plotting a curve from the intersection points of a family of two curves

I have two state equations. f1 = 1000. (12 - (1 - u) x2); f2 = 1000. ((1 - u) x1 - 8/100 x2 ); I did two different stream plots for state-variables ...
9
votes
2answers
2k views

problem with coloring spherical harmonics

I want to color a spherical harmonics. So I write as follows. ...
6
votes
2answers
1k views

Deformed style when exporting eps files

I want to export a plot into an eps file. Below I present a sample plot code in order to demonstrate the two issues that appear. (1). LabelStyle: When I use ...
4
votes
2answers
324 views

How to prevent the loss of Tooltip when using ListLinePlot?

Version 9, windows 7: When I use ListLinePlot Tooltip does not work any more. It seems to have been lost somewhere. With same data, Tooltip works ok using ...
-1
votes
1answer
318 views

Importing Quicken Tab Delimited .*TXT File and plotting

I am using Mathematica 7 to try and plot my quicken data file. I have exported my quicken file as a .*TXT and have made zero changes to it. I want to do a ...
8
votes
0answers
187 views

Break[] inside ColorFunction

f[x_?NumericQ]:= (Do[Break[],{i,1,2}];x) Plot[x,{x,0,1},ColorFunction->(ColorData["Rainbow"][f[#]]&)] Break::nofwd: No enclosing For, While, or Do found ...
8
votes
1answer
1k views

Logarithmic scale in the legend of a ListContourPlot

Is there a way to use a logarithmic scale in the colour legend of a ListContourPlot? The contours can be logged by taking the ...
15
votes
2answers
585 views

Combining 3 graphics of different coordinate systems

I have 3 graphics in different coordinate systems and I want to join them in as in the following figure. This is just a sample figure, not the real one. My functions are as follows. ...
1
vote
2answers
196 views

Filling for ListPolarPlot

I want to use Filling for ListPolarPlot in such a way that the points in the list are joined to the origin with a line colored ...
2
votes
2answers
491 views

Spreading colors in ListContourPlot

I have a data file with triplets. The first two numbers indicate the x and y position, while the third one is the log10 value of a particular indicator. I want to create a 2D plot in which the ...
2
votes
2answers
846 views

How to prepare data for ListVectorPlot[]?

I was trying to plot a few velocity vectors measured at given points. However I am unable to do this with ListVectorPlot[] function. I get error each time I try to ...
8
votes
2answers
327 views

Tailoring RegionPlot3D with PlotPoints?

This seemingly tame solid gives Mathematica (v9) a bit of a workout if you want to generate a good picture: ...
14
votes
1answer
845 views

Sales forecast using SARIMAProcess and time-series data

I would like to ask for help in how to use the new Mathematica 9 time series functions to make some sales forecast. For example, for one of our stores, I have this data set with 35 points, from ...
20
votes
2answers
802 views

How to generate a picture like this?

How to generate a picture like this? I'd like the surface of the manifold to randomly distort.
0
votes
0answers
69 views

Extracting box coordinates [duplicate]

Possible Duplicate: Dimensions of the results of Text[] within Graphics[] In writing the following code, I had to figure out what values to give d by trial and error. Is there a way to ...