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

learn more… | top users | synonyms (4)

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
191 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
981 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
716 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
864 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
725 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
594 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
203 views

Scale label problem of multiple ListLogPlot graphs

Consider the following code: ...
3
votes
2answers
431 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
447 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
318 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
809 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
463 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
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
448 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
688 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
453 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
310 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
314 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
184 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 ...
14
votes
2answers
563 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
191 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
476 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
779 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
317 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
814 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 ...
19
votes
2answers
786 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 ...
5
votes
2answers
551 views

Force Plot Area size to be equal excluding axes

I have two plots, both with the exact same formatting (frame, text style, etc.). One of them has 2-digit values for the y axes, the other has scientific notation because the value are large. In ...
10
votes
3answers
2k views

Why are PlotLegends not combined with Plots?

I'm using PlotLegends in v9. It seems that in the documentation examples, plots and legends are combined into one graphic: Here's an example from ...
10
votes
2answers
3k views

Use different ColorFunction for each function plotted

When plotting two curves on one plot, you can specify different colors for each function: Plot[{Sin@x, Cos@x}, {x, 0, 4π}, PlotStyle -> {Red, Blue}] To ...
4
votes
2answers
5k views

Plotting complex numbers [duplicate]

Possible Duplicate: Plotting an Argand Diagram How do I plot complex numbers in Mathematica? The following is a part of my data, the eigen values of a 50 by 50 asymmetric matrix: ...
1
vote
1answer
114 views

“Thickness” doesn't work in Parametric3D

I have Mathematica 8 and for some reason, the parameter "thickness" doesn't work in Parametric3D, it works in 2D very fine ParametricPlot3D[{{t, 0, -t}, {0, t, 2 t}}, {t, 0, 100}, PlotStyle -> ...
2
votes
2answers
347 views

Revolution plot with 2 variable

I'm having trouble with RevolutionPlot3D with two variables. I have this parabola ...
0
votes
2answers
361 views

Matrix Plot – Little Exercise

Hi there, mathematicians. I'm not very good at coding plots in Mathematica, so I was hoping that one of you could help me solve a problem I'm having. I have the following matrix plot: ...