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

learn more… | top users | synonyms (4)

4
votes
3answers
1k views

Parameters in plot titles

My issue is how to mix strings with variables, specifically in the context of PlotLabel: I can put a string as my plot title, and I can also put a variable as a ...
3
votes
2answers
279 views

Plotting two functions with dependent input function

I have defined a function: myJ2[n_] := 1/n* Total[RandomVariate[NormalDistribution[0, 1], n]^2] This is basically an approximation to the gaussian integral. I ...
4
votes
2answers
463 views

Loop and do operations on Matrix, then graph the results

I'm trying to do some operations to a matrix in a loop, and then I want to graph the results. The results are pair of numbers. Can I store the results of each iteration on "something" and the use ...
3
votes
0answers
231 views

Scale plot display area (within the frame)

I have 2 data sets of equal length. I've done a LinearModelFit of them which gives me: ...
0
votes
0answers
55 views

Make PlotMarker explanation [duplicate]

Possible Duplicate: Creating legends for plots with multiple lines? I have a ListPlot of data points. To distinguish between datapoints coming from different sources, I give them different ...
10
votes
2answers
687 views

How to vary color of fill between listplots based on y-distance between them

I have two lists with the same x-values but different y-values. I have used ListPlot to plot and fill the space (line) between them; however, I would like the color ...
14
votes
1answer
331 views

Why do Arrowheads interfere with ImagePadding?

Bug still present in version 10 under Windows. In a recent posting, Belisarius solved a problem related to the display of arrows on the x and y axes by setting ...
11
votes
1answer
728 views

How could I add arrows to the axis of a figure?

It is easy for me to add arrows to the axes of the a figure by taking advantage of AxesStyle -> Arrowheads[] when the differences between the horizontal and ...
17
votes
4answers
2k views

Spherical density plot of data set

I have a somewhat large number of 3-dimensional unit vectors ( ~ 100 000 unit vectors), and I am trying to visualize their distribution. First thing I tried was ...
4
votes
2answers
239 views

Transform x-scale of data for e.g. MatrixPlot

I have to transform in a nonlinear way the x-scale of some data for a MatrixPlot (or ReliefImage or ...
1
vote
1answer
414 views

How do I make my discrete plot thicker?

I am making a discrete plot and a regular function plot together. But my curve is so thick that for color-blind people, it's pretty much impossible to see the black dots of my discrete plot: ...
4
votes
1answer
469 views

RevolutionPlot3D of 4 piecewise functions around X-axis crashing mathematica

I'm trying to rotate 4 piecewise functions around the X-axis using RevolutionPlot3D. The 4 functions I have are: ...
2
votes
4answers
294 views

plot data differences

I have the following data: ...
2
votes
1answer
341 views

How specify PlotRange and display bitmap over plot in DateListPlot?

The problem came up in a plot of RGB data obtained by imaging the variable star d-Cephei with a DSLR camera on several successive nights. I tried to plot the R, G, B intensity points for each day in a ...
2
votes
1answer
320 views

Defining regions for `Exclusions`

I have the following function I want to plot in 3D (For simplicities sake we can say $a=5,b=-1,c=3$.) ...
12
votes
2answers
474 views

Replicating a discontinuous graph

I'm trying to replicate a graph from my math book for my notes as well as to learn Mathematica. I was hoping someone would be able to help me figure out how to add the open points to the graph, and ...
420
votes
6answers
154k views

xkcd-style graphs

I received an email to which I wanted to respond with a xkcd-style graph, but I couldn't manage it. Everything I drew looked perfect, and I don't have enough command over ...
11
votes
1answer
1k views

Make a density list plot/histogram from large, pre-binned data set?

I have a large data set consisting of $\mathcal{O}(10^9)$ two-dimensional points. In order to save memory and time I have pre-binned these into a uniform grid of $500 \times 500$ bins using Fortran. ...
19
votes
5answers
793 views

In a ListPlot of LinearModelFit, Fill to the regression line

In the help for LinearModelFit, the regression line can be added to the scatter plot like this: Show[ListPlot[data], Plot[lm[x], {x, 0, 5}]] Is it possible to ...
0
votes
1answer
841 views

How to specify DataRange in a ListPlot with an imported set of data

So I've been trying to import a large set of data (6900 point pairs) from an excel (.xls) file. The Exel file has 2 columns of numeric data. I've also been trying to plot this data, but when I do, it ...
0
votes
1answer
204 views

How to repeat a plot with different options

I'd like to have first a function plot and then the same plot repeated inside a Manipulate, with additional things (like tangent planes etc.). I can do ...
1
vote
1answer
1k views

Plot cubic root which includes the negative graph [duplicate]

Possible Duplicate: Finding real roots of negative numbers (for example, $\sqrt\[3\]{-8}$) Yes, I know there are other Threads which have similar questions and yes I read them but I am just ...
1
vote
1answer
2k views

Why doesn't this plot work? [closed]

I'm trying to plot the output of an integral, but the plot does not show. The axes show, but not the plot itself. I have tried what I felt was a reasonable range of axes values, but the result is the ...
3
votes
2answers
287 views

Rules governing Plot line generation

I was looking at the Documentation Center for Round, Ceiling and Floor when I noticed that ...
3
votes
2answers
217 views

Plotting a floor function with endpoints?

Would someone mind showing me how to plot a floor function with the appropriate endpoints? I tried Google, but the best I could find was something posted from 2004 that no longer appears to work. ...
0
votes
1answer
154 views

How to add FindDivisions to the plot commands?

I used these instructions to make a legend bar next to my plot (I can't comment there) But I'm lost to where and how can I add FindDivisions to the DensityPlot under "Edit: illustrating additional ...
7
votes
1answer
296 views

Control parameters of different styles of DistributionChart

Using DistributionChart, you can choose among several styles aka ChartElementFunction: ...
2
votes
1answer
130 views

Using MaxStepFraction as ticks on plot

Is there any way I could use the MaxStepFraction (or grid size) as used in NDSolve in the example below as ticks on the 3d Plot? ...
9
votes
3answers
379 views

Toggle visibility of elements in a plot

I have three simple graphs in one Plot. Now I am trying to make a button for each graph so you can hide or show it in the plot. Until now I was just able to make a checkbox with the Manipulate ...
3
votes
2answers
729 views

Why is my animation so slow?

I have an animated plot of the kind ...
4
votes
1answer
479 views

Overlay : zoom, graphic tools, get coordinates save as etc

I used Jens' legendmaker to Overlay graphics to get a nice legend on my ListPlot. My question is if is there any way to make ...
1
vote
2answers
333 views

Replacing variable in an equation with an Interpolating function polynomial and plotting residual

I was trying to plot the residual for the solution of my PDE. However, I was unsure about a couple of things. I imported the data and created an Interpolation polynomial with ...
1
vote
0answers
77 views

Combine DistributionChart and ListPlot [duplicate]

Possible Duplicate: Combining and aligning “chart” type graphics with regular plots I have a bunch of data I want to plot a violin plot of, and I want to add the averages (as ...
3
votes
1answer
189 views

Rectangular output for ListContourPlot

The Function ListContourPlot generates by default an output which has a square size. I would like to produce a rectangular output for example {1000,100}. ImageSize doesn't work because it shapes only ...
0
votes
1answer
810 views

How to get data from For loops to plot it?

How can I get data from For loops to use in ListStreamDensityPlot? I tried AppendTo, but it ...
8
votes
1answer
473 views

Animate the scattering of a Wave Packet

I know mathematica is probably not the best choice for intense numerical integration, but its the only software I know. I would like to create an animation (not real-time, but pre-render the ...
14
votes
4answers
3k views

Getting the interpolation function from a list plot

I have conducted a chemistry experiment and obtained a list of concentrations of a reactant against time. I plot a graph of this using Mathematica's ListPlot ...
2
votes
1answer
519 views

Plotting Complex Roots of Unity [duplicate]

Possible Duplicate: Finding real roots of negative numbers (for example, $\sqrt\[3\]{-8}$) I am trying to make Mathematica plot the cube roots of $27i$ and graph them, so that I can include ...
5
votes
1answer
844 views

Calculus 1: Create the plot of a function satisfying certain conditions

Today in class we were shown how to create an infinite limit graph (plot) given the preceding conditions. While I have a fairly terrible sketch of this graph in my notebook, I'd like to create a clean ...
2
votes
1answer
161 views

Using Plot3D with one variable dependent on the other

Plot3D[f,{x,xmin,xmax},{y,ymin,ymax}] In the above , is there any way to give range of y in terms of x. I want to give like ...
0
votes
0answers
114 views

Why does mathematica crash when I rotate a 3D graph? [duplicate]

Possible Duplicate: SIGSEGV error with 3D Plots I just recently installed mathematica 8 on my linux machine, running ubuntu 11.10 I decided to tun and test mathematica so while the terminal ...
2
votes
0answers
180 views

how do you fix an axis in place for a movie? [closed]

I have a series of txyz coordinates, which I am plotting in space to create a movie of the objects' time evolution. With something along the lines of (simplified): ...
6
votes
6answers
1k views

How do I fill in a circle made by ParametricPlot with one solid color?

I have a very simple question but I am new with Mathematica. I made a circle on a parametric plot and I made the line black. I want to make the inside of the circle on the parametric plot red. So the ...
0
votes
1answer
271 views

Iterative way to find roots of confluent hypergeometric function

I am trying to find roots of confluent hypergeometric function and I wonder if I can choose the initial guess by the choice of $\beta$. ...
2
votes
2answers
619 views

Several functions in one RegionPlot with different grayscale

I try to plot the following, but something seems to be wrong in my code and I can't figure out how to fix it: ...
0
votes
1answer
420 views

Degree Symbol missing in PolarPlot when exported to PDF

I am trying to produce a polar plot. The axis should be in degrees. While no error occurs, the pdf export isn't working properly. Instead of the degree symbol I get ...
6
votes
2answers
327 views

3D Plot: Number of Roots in x of a polynomial in x, a, b and c

I have a polynomial in four variables x,a,b and c. The number of roots of the polynomial in x depends of the choice of a, b and c. I would like to have a 3D-Plot with a, b and c on the axes, while the ...
3
votes
2answers
3k views

How do I plot $x^2+y^2=1$ in 3D?

How would I plot $x^2+y^2=1$ in 3D (it would form a cylinder)? Since there is no $z$ in the equation, I can't solve for it and use Plot3D. Or can I just put the ...
11
votes
4answers
492 views

How to make a Line[] with no end?

I'm trying to do this: In this graph, the secant points are aproximated in order to become the tangent, it seems I need some kind of function which plots a line based on two points and it's points ...
4
votes
3answers
2k views

How can I plot the complex graph of $x^x$ in Mathematica? [duplicate]

Possible Duplicate: How to plot imaginary part of a function Plotting Complex Quantity Functions For example, this Wolfram Alpha query shows this graph: But it does not show the code for ...