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
395 views

How to plot points with uncertainties and dates assigned?

I want to plot a graph from list of points, but each point also has uncertainty assigned AND date. Without uncertainties DateListPlot works great, without dates ErrorListPlot works OK, but how it ...
0
votes
0answers
49 views

MATLAB-like convolution and derivation using Mathematica [duplicate]

Possible Duplicate: Discrete Convolution I would like to be able to convolve two functions of two variables in Mathematica, and then plot derivatives (or functions of derivatives) of the ...
5
votes
2answers
338 views

Make contour lines level with graph interval?

I am graphing the voltage traveling through some water with two electrodes. I have the graph with contour lines and all, but is there any way that I can get the contour lines to be at the tick marks ...
5
votes
2answers
1k views

How do I draw lines perpendicular to contour lines on ListPlot3D?

I am plotting the voltage in a pool of water with two electrodes. I have contour lines on my graph at every volt, but I would like to show the electric field lines which are going to be ...
1
vote
1answer
103 views

When is Evaluate needed within function arguments? [duplicate]

I'm trying to do a simple variable substitution within a ContourPlot, but it's not working. Here's an example: ...
7
votes
1answer
890 views

Plot cross sections of a function

I have been learning how to use Mathematica for the past few weeks, and recently I have been trying to recreate something along the lines of this. Given a function, I want to create a 3d plot of ...
17
votes
4answers
2k 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 ...
6
votes
2answers
412 views

Are plotting markers with inscribed letters possible?

I have large data consisting of values obtained by sweeping across three parameters (e, w, and f). I want to plot all this data on one graph using different shapes for e (e.g., circle, triangle, ...
2
votes
2answers
214 views

How can I shift the frame ticks to the corner of each element-cell in a Matrixplot?

I am using the following code,to create a Legend for my plot. I would like to shift (or re-position) the frameticks to the corner of each of the cell-elements instead of being in their middle. I ...
6
votes
2answers
787 views

Interactive 3D plot in web browser?

Are there any ways to show a mathematica plot in a web browser so that the user can rotate it and such? I am open to embedding it in a web page - or some other method such as porting it to a ...
4
votes
2answers
2k views

How do I plot a solution of a differential equation?

I am having trouble generating a plot for a solution to my differential equations. I always end up with just blank axes. ...
5
votes
3answers
5k views

How can I transpose x and y axis on a Plot?

This question has appeared in various forms online, but I have not yet seen a complete answer, so I am posting it here. More specifically, suppose I have a function ...
4
votes
3answers
832 views

BoxWhiskerPlot - how to specify boxes position on the horizontal axis

Let's say I have a folowing set of data: k = 1 : list of values k = 3 : list of values k = 10 : list of values I know that to make a BoxWhiskerChart I have to ...
27
votes
4answers
2k views

Is it possible to speed up ContourPlot on multi-core machines?

It is not very difficult to face a function for which ContourPlot works too slow. And it seems natural that this function can be parallelized well. Anyway, naive ...
6
votes
3answers
705 views

Avoiding grid lines inside filled area in RegionPlot exported as PDF

Basically the same question as here, but now with regions which have opacity. ...
21
votes
2answers
2k views

How to plot planar graphs as such?

A planar graph is a graph that can be drawn in the plane such that no two edges cross. For example, the graph ...
1
vote
2answers
462 views

Plotting Inverse Functions using ParametricPlot gives error message [duplicate]

Possible Duplicate: Plotting multivariable integration I am trying to plot an inverse function. If I do something like this: ...
0
votes
0answers
204 views

Plot in cylindrical coordinates [duplicate]

I am trying to plot a simple vortex in cylindrical coordinates give by $v_{\phi} = \frac{\Gamma}{2 \pi r}$ Is there an alternative method to plot this than, for example, using streamplot and ...
1
vote
1answer
816 views

Plotting series solution to the heat equation [closed]

I am trying to plot a solution to the heat equation $u(x,t) = \sum_1^\infty \frac{8(-1)^(n+1)}{\pi^2 n^2} \sin(n \pi x) \exp(-n^2 \pi^2) $ I am using the following from another answer here on ...
2
votes
2answers
1k views

Adding contour lines to a 3D plot?

I am having trouble getting contour lines on a 3D plot (ListPlot3D). I have tried ListContourPlot3D, but that gives me a really weird looking graph with a ton of dfferent levels. What I would like is ...
1
vote
1answer
157 views

ListPlot does not recognize my list

I have created a list in Mathematica and for some reason it does not want to Plot my list in pairs {x1,y1}, but instead does {y1,y2} even though I partitioned the list to make it in the correct ...
0
votes
1answer
127 views

Plotting results of numerical differential equation

I'm numerically solving the ODE equation $a = -kv$, i.e. $ x'' = -kx'$. sol = NDSolve[{y''[x] + 0.1 * y'[x] == 0, y[0] == 0, y'[0] == 10}, y, {x, 0, 100}] I need ...
7
votes
7answers
593 views

Can my color function be written more simply?

The code shown below works well, but I think the pure function I'm supplying to the ColorFunction option could be more elegant. How can I simplify it? ...
2
votes
3answers
270 views

How to Dynamically Locate (get coordinates) of a point, inside a Manipulate?

I've been searching all around the "Documentation Center" and other forums and just can't get to solve this issue. I'd like to dynamically locate a point (get it's coordinates) inside a Manipulate. ...
6
votes
1answer
256 views

What algorithm does Plot use to determine abscissas?

(I'm hoping this question is not hopelessly naive...) My understanding is that Plot's strategy is to generate a list of abscissas, evaluate the argument expression ...
-1
votes
1answer
258 views

Why does the PlotStyle not apply globaly when I plot multiple data files

I have several data files which contain columns of data. All my files follow the same format data001.out, data002.out, ... , data00n.out. I want to import and plot all of them simultaneously. In ...
1
vote
1answer
276 views

Solving the wave PDE using the Fourier method

I am trying to solve the wave PDE using the Fourier method and I need to animate the plots of the partial sum of order 45 -- U45(x,t) with initial conditions U45(x,t0), {t0, 0, 12, .2}. I am ...
1
vote
1answer
146 views

Seemingly simple optimization problem is slow

I'm trying to generate a demand curve numerically, given a utility function. The function for the demand is defined like so: ...
0
votes
0answers
50 views

Plot using Manipulate or Animate [duplicate]

Possible Duplicate: PolarPlot render oddities When I use manipulate or animate function, the result shows a non-smooth plot. How to make the manipulate or animate commands show good and ...
5
votes
1answer
378 views

Label area on plot

I created the following plot using Mathematica: ...
1
vote
1answer
337 views

Complex Region using Presentations Package

Just purchased the Presentations package. First sketched this region: ...
0
votes
1answer
719 views

Plotting discrete data but not using discreteplot function

For a given function: Plot[Sqrt[Abs[x]], {x, -Pi, Pi}] I have the code to draw the function (with its Abs remove), partial sums and cesaro means as: ...
4
votes
1answer
386 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" ...
3
votes
1answer
311 views

How to plot a log log plot of the error

Suppose I have a function $$ f(x) = \frac{1}{1+e^x}$$ I can use the function Series[] to generate a series expansion of $f$ as follows ...
3
votes
1answer
860 views

How to save a GraphicsRow output?

I need to save the result of GraphicsRow command as a pdf or jpg file. Something like GraphicsRow[{plt1,plt2,plt3}] -> pdf. On clicking on the image there is ...
6
votes
2answers
728 views

Graph a Function with general conditions [duplicate]

Possible Duplicate: Plot Even Piecewise function Based on Howell's Principles of Fourier Analysis, I found a function $ f(x)= \begin{cases} \sqrt{|x|} & \text{ if }-\pi < x < ...
2
votes
1answer
349 views

Specifying unlabeled FrameTicks in Plot

I am running Mathematica 7. Suppose that I plot $\sin(x)$ for $x = 0..10$ and frame the plot using Frame -> True: ...
11
votes
2answers
8k views

Placing x-axes label below rather than at end of axes

By default Mathematica places the x-axis labels at the end of the axes like Googling has suggested a way around this is to use Frame- for example ...
4
votes
2answers
973 views

What is the best way to make a plot complete with legends so it is exported-ready for Word?

I want to put my Plot output into an MS Word document without having to edit it in Corel first, so I want to export it ready for Word in vector format complete with legends, expressions, axes, and ...
6
votes
2answers
298 views

Is it possible to induce Mathematica to chop off parts of Graphics objects that exist outside of a Frame?

I am running Mathematica 7. In a Graphics environment I am setting Frame -> True (and using ...
5
votes
2answers
305 views

Problem with ParametricPlot of multiple Curves

I have written a function f[Ne,t,T], that gives back a list of results when evaluated with numeric values of the variables Ne, ...
0
votes
0answers
51 views

How to ContourPlot a Table? [duplicate]

Possible Duplicate: Why is ContourPlot not displaying this curve? Why do I have to put Evaluate[] here I'm trying to plot certain contours of a function $f:\mathbb R^2\to\mathbb R$. What I ...
2
votes
2answers
632 views

Making a movie with specific frame-rate out of ListPlot outputs? [duplicate]

Possible Duplicate: Is it possible to prerender animation in Wolfram Mathematica? Does Mathematica support variable frame rate for any video format, in analogue of GIF-style “DisplayDurations”? ...
3
votes
2answers
268 views

Show does not combine the plots

i've the following problem: because it's not possible to plot complex numbers (or is it?) i created my own "function": ...
3
votes
2answers
442 views

Display function value on hover?

I have used Manipulate in conjunction with Plot to draw a function's graph and I would like to show the current x-axis value and function value while hovering over the function's plot. How can I ...
3
votes
3answers
455 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.
6
votes
3answers
377 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 ...