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

learn more… | top users | synonyms (4)

1
vote
2answers
1k 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: ...
18
votes
1answer
545 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. ...
20
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
512 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
812 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
487 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
336 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
327 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
191 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
609 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
205 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
517 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
924 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
342 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
888 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 ...
21
votes
2answers
847 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
645 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 ...
11
votes
4answers
3k 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 ...
5
votes
2answers
7k 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
127 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
390 views

Revolution plot with 2 variable

I'm having trouble with RevolutionPlot3D with two variables. I have this parabola ...
0
votes
2answers
382 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: ...
0
votes
1answer
635 views

How to show legend in a combined plot of many lists,

I am having trouble with adding a legend to a plot. The example I discuss here is simpler than my real problem, but describes it well. I have a vector, called X with dimensions (100 x 6). I use the ...
0
votes
2answers
259 views

Fourier-Motzkin Elimination

Is there any method available in mathematica to eliminate variable from set of inequalities? I tried Eliminate function available, but I guess it works on equalities only.
2
votes
4answers
468 views

Highlight integer points in RegionPlot

Is there any way to mark integer points after plotting region in Mathematica? For example, if I: ...
5
votes
4answers
778 views

Change Style of Points

I was wondering if it's possible to change the style of aPoint with another symbol e.g.: cross, x etc... It may sound weird-it is a Point after all, but I would ...
5
votes
3answers
372 views

How can I set different opacity values for the background of a ListPlot

In the following example: ListPlot[{1, 2, 3}, Background -> Green] how can I set the Opacity[] for the background such ...
3
votes
2answers
155 views

Evaluate an ODE for several values of a coefficient and draw all the solutions in one plot

I want to draw one plot showing all the solutions the following ODE with different values of N. How can i do it? ...
1
vote
1answer
315 views

Relative error plot [duplicate]

I was plotting the relative error of the $e^{11/12 -n}n^{n+1/2}$ approximation to $n!$ as $n$ gets larger and larger, and at some very large value of $n$ Mathematica gives this plot: Can somebody ...
-1
votes
1answer
884 views

Creating a Logarithmic Scale Plot

I am trying to plot a function on a Log scale, but am not getting the correct looking output. Any ideas on what could be wrong. ...
7
votes
4answers
475 views

Mark an 2d-area on a 3dPlot (ListPlot3d)

I have a list {(IC,s,FK)}, which I use to generate a 3d-plot with the help of the command ListPlot3D. ...
2
votes
1answer
259 views

LabelStyle doesn't affect PlotLegends [duplicate]

Possible Duplicate: Setting the default font for PlotLegends Using version 9 The option setting for LabelStyle in plots (I've tried this in ...
15
votes
2answers
2k views

How to get StreamPlot to draw many hundreds of streamlines?

For artistic reasons, I want to draw an extremely dense StreamPlot with something like a thousand streamlines. I tried setting ...
-1
votes
2answers
988 views

How to plot multiple horizontal lines? [duplicate]

Possible Duplicate: How to insert guide-lines in graphics without specifying range? How to plot multiple horizontal lines? For instance, I want to plot 3 horizontal lines: ...
-1
votes
1answer
322 views

How to plot a x bar control chart?

Does anyone know how to plot a x bar control chart? With mu=12.5, sigma=.8? I have searched all over mathematica documentation center but still couldn't figure out how?
10
votes
2answers
605 views

Graphically representing error in a Riemann Sum

I am trying to graphically represent the error in a Riemann sum. My current code looks like: ...
6
votes
1answer
396 views

BSplineCurve Interpolation

Can I get interpolated values from this B-spline, (shown in red)? ...
2
votes
1answer
209 views

Plot, HoldAll and the color problem

I have a similar problem as posted in Difference in Plot when using Evaluate vs when not using Evaluate, however due to a numerical evaluation I cannot use ...
2
votes
1answer
445 views

Can I plot a Parametric and Cartesian functions on same grid?

I am trying to make a simulation of an airfoil in Mathematica. The final coordinates of the airfoil are parametric, but some of the other things like chord line are f(x) functions. Is there any way ...
6
votes
4answers
1k views

Histogram: Bars not stacked, not overlapped, but side by side?

I would like to make a histogram with multiple datasets. Then Mathematica allows to either overlap or stack the data from the different data sets. However, I would like to have the bars side by side, ...
4
votes
2answers
174 views

Prevent manipulations in PlotLegends

Mathematica code to reproduce: ...
5
votes
2answers
563 views

ListPointPlot3d to visualize points close to a manifold

I have a large set of points that are close to manifold which I want to show in a ListPointPlot3D. Using part of the data set illustrates this there are fewer ...
2
votes
2answers
514 views

How to plot function over interval returned by Reduce[]

Let $f(x) = (x^2 + 1) / x$. I need to plot the function for the values of $x$ in which the square of the function is larger than 4, and its cube is smaller than 64. So I used ...
6
votes
1answer
295 views

How to keep PlotLegend expressions on top of each others even when placed at Bottom?

Version 9. When writing Plot[{Sin[x], Cos[x]}, {x, -2 Pi, 2 Pi}, PlotLegends -> Placed[TraditionalForm /@ {Sin[x], Cos[x]}, Right]] The result is Now ...