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

learn more… | top users | synonyms (4)

7
votes
7answers
586 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? ...
1
vote
2answers
411 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: ...
6
votes
1answer
249 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
249 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 ...
2
votes
3answers
259 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. ...
2
votes
2answers
191 views

Problem with high parameter values in ParametricPlot

I tried to plot the following function as a Parametric Plot. When I include values for w up to 1 the plot looks fine, but I need this plot for values up to 100 or 1000. ...
1
vote
1answer
145 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
47 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 ...
11
votes
2answers
294 views

Plotting a function, x = 1024

The function s12 = 1/(Log[2^x]*((7.537/(x^2)) + (30.148/((2 + x)^3)))) returns expected function values for ...
1
vote
1answer
257 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 ...
2
votes
0answers
141 views
1
vote
1answer
304 views

Complex Region using Presentations Package

Just purchased the Presentations package. First sketched this region: ...
3
votes
1answer
186 views
3
votes
1answer
281 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 ...
5
votes
1answer
322 views

Label area on plot

I created the following plot using Mathematica: ...
2
votes
2answers
250 views

Misaligned DensityHistogram, DistributionAxes & PlotRange

data = RandomReal[NormalDistribution[0.5, 0.1], {10000, 2}]; DensityHistogram[data, PlotRange -> 1, Method -> {"DistributionAxes" -> "Histogram"}] The ...
3
votes
1answer
716 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 ...
3
votes
1answer
252 views

How to adjust the parameters on a Nyquist Plot?

In order to see some details on a Nyquist Diagram I have used the function NyquistPlot that comes with Mathematica v8 and v9. ...
0
votes
1answer
656 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: ...
12
votes
3answers
2k views

How to place legend labels for Histogram and ListLinePlots correctly?

I would like to place AxesLabels: For x axis at center of the Histogram and LineListPLots. For y axis rotated 90 degree anti clockwise. I don't see any options for it? ...
6
votes
2answers
636 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
537 views

Exporting 3D plotted figure complete with legend ready for Word

I have one more problem, still with exporting full quality 3d figure into Word. I want perfect quality in a Word document of a 3d figure prepared with legend (traditional form of text). Extremes of ...
6
votes
3answers
532 views

Percentage axis ticks

To create a percentage axe in some plot I use this Ticks configuration: ...
2
votes
1answer
317 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: ...
10
votes
2answers
6k 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
907 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
282 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
290 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
49 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
525 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”? ...
6
votes
3answers
1k views

Spreading colors in ListDensityPlot

I want to create a two-dimensional plot using data from an external file. This file contains several triplets of numbers. The first two columns indicate the x and y position, while the third one works ...
3
votes
2answers
392 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
2answers
258 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
3answers
433 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.
0
votes
1answer
194 views

Plotting partial sums and its Cesàro means

I have the function as shown in the first line of the code and its partial sum in the second line of the code below. ...
1
vote
1answer
931 views

Problem with transparency when I export an eps file

I have the following simple Mathematica code: ...
4
votes
1answer
231 views

Row inside FrameLabel doesn't work in Mathematica 9

So as to automate/customize plot titles I use Row inside e.g. FrameLabel: FrameLabel -> {"x", "y", Row[...]} Now with ...
6
votes
3answers
349 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 ...
11
votes
3answers
453 views

Using PlotLegends with a numeric PointSize

Using PlotLegends with a PlotStyle containing (for instance) PointSize[0.02] creates a ...
-3
votes
2answers
664 views

Plotting a 3D sphere i.e. how to vizualise the spanned volume $\int_0^{2\pi}\int_0^{\pi} d\theta d\phi$?

I am trying to help this guy here to vizualise the integration volume. How can I plot the different integrals ie a ball and the ball adjusted by a trigonometric function? Integrals needing visual ...
1
vote
2answers
520 views

Plotting a graph with conditions

I am a newbie in Mathematica and is currently using Mathematica v9.0. I would like to consult if anyone knows how can I plot a given functions with conditions as shown below on how they look like. ...
3
votes
2answers
192 views

Adding a coordinate label to individual squares in ArrayPlot[…]

Can I write text, or add a specific text label to individual squares of an ArrayPlot[...] graphic? Specifically, I would like to assign an two-dimensional integer coordinate label to each square.
-3
votes
2answers
157 views

How to make plots scaling consistent when running a series of simulations?

In my function it returns a plot of my data, say example, using ListLinePlot, and this is the size I obtain: but when running a series of simulations inside a Table: ...
0
votes
0answers
650 views

How can I plot a function and its partial sums? [duplicate]

Possible Duplicate: How to Plot an Infinite Series Coding mistake? I have Mathematica v9.0 and I am a newbie to Mathematica. I am trying to plot a function $f(x)=x$ over the interval ...
3
votes
1answer
381 views

How can I get better tick spacing for multiple ListLogPlots?

I am using Show with PlotRange -> All to overplot multiple ListLogLogPlot. The resulting ...
10
votes
1answer
2k views

Plot electric potential and field

I am trying to plot an electric pottentional of a dielectric cylinder along with it's field. The pottentional is a piecewise function ...
8
votes
1answer
267 views

Cannot plot Quantity values with DateListPlot

Is there a way to use DateListPlot with Quantity values? I retrieved the following time series data from WolframAlpha: ...
8
votes
4answers
587 views

How can I highlight the points lying between two lines in a ListPlot?

I have a list of numbers like the following: list = Table[RandomInteger[1000], {i, 1000}]; And I plot them so: ...
4
votes
1answer
344 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" ...
6
votes
1answer
290 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. ...