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
2answers
449 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. ...
5
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
303 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
307 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
553 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
462 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
748 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
309 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
790 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
781 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
67 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
538 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 ...
9
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
2k 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
339 views

Revolution plot with 2 variable

I'm having trouble with RevolutionPlot3D with two variables. I have this parabola ...
0
votes
2answers
356 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
480 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
221 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
397 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
555 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
327 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
149 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
276 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
789 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
440 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
225 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
1k 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
728 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: ...
-2
votes
1answer
298 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
517 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
354 views

BSplineCurve Interpolation

Can I get interpolated values from this B-spline, (shown in red)? ...
2
votes
1answer
184 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 ...
1
vote
1answer
334 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
796 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
168 views

Prevent manipulations in PlotLegends

Mathematica code to reproduce: ...
5
votes
2answers
479 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
443 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
242 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 ...
3
votes
1answer
308 views

Plotting a time delay in mathematica?

I'm having some difficulty plotting a phase space of a function f that exhibits time delay. i.e. ...
2
votes
2answers
127 views
15
votes
3answers
569 views

Plotting the solution of a vector stochastic differential equation

I have a vector stochastic differential equation, $$\mathrm dq = p\,\mathrm dt\qquad q(0)=0$$ $$\mathrm dp = (-q -p)\mathrm dt+\mathrm dW\qquad p(0)=10$$ This can be entered to give me the process ...
8
votes
3answers
636 views

Forest plot with Mathematica 9

Does anyone have experience with or a package for the creation of forest plots in Mathematica 9? For instance for subgroup analyses of cox model or meta-analysis (e.g rmeta package in R)?
17
votes
4answers
1k views

Setting the default font for PlotLegends

I'm pleased that Mathematica 9 appears to have brought us prettier legends. If I always want the legend in ...
0
votes
1answer
2k views

amplitude * cosine(2 * pi * f * t + phase) how to plot [closed]

Sorry, but I'm a bit confused with Mathematica. I would like to plot the cosine this way: amplitude * cosine(2 * pi * f * t + phase) in Mathematica, but now the cosine crosses the x-axis at less then ...