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

learn more… | top users | synonyms (5)

13
votes
4answers
3k views

How do I draw a DensityPlot in polar coordinates?

I am trying to plot $J_m(\chi_{mn} r) \cos(m\phi),$ where $J_m(\chi_{mn}) =0,$ as a DensityPlot in polar coordinates (solution to 2D wave equation in polar ...
5
votes
2answers
168 views

How can I plot histogram with the same number of values in every bin?

For example I have 100 values sample. I'd like to build histogram in which every bin contains, for example, 10 values. How can i do that? Thanks.
0
votes
1answer
84 views

Plot a function based on the value of another function

Could anyone guide me on how to plot the function VR with the values of ρ that I get from solving the following eq. ...
1
vote
1answer
142 views

Contour plotting temperature data on a hemisphere or circle

(edited question:) I solved the Laplace equation(PDE) in spherical coordinates (in my problem temperature is steady and it is azimuthal(θ) symmetric, so my data is ...
12
votes
2answers
252 views

Combine Stereographic “Entity” Plot of Arctic Sea with Contour Plot

In the announcement of Mathematica 10 there were some very cool features for every geo-related researcher. Like this one what i'm trying to do is to overlay an ContourPlot onto this beautiful arctic ...
2
votes
2answers
237 views

How do you create such an animated GIF via Mathematica?

Is it possible to create such kind of GIF via Mathematica?
6
votes
1answer
181 views

ListPolarPlot: 0 Degree at vertical axis

Is it possible to have ListPolarPlot start plotting at the vertical axis? By Default ListPolarPlot gives this result: ...
8
votes
1answer
308 views

Plotting a region with polar axes

I want to plot the region of points who satisfy the following equation: 2 < r <= 5 && 3/4 π < θ <= 5/4 π I have been able to plot region in ...
1
vote
1answer
57 views

Stream plotting in polar coordinates [duplicate]

I got to a scalar field that really looks just fine to me in polar coordinates. "looks just fine" = all the physical limits make sense. The scalar field in polar coordinates r and θ is: ...
7
votes
5answers
4k views

StreamPlot in Polar Coordinates

I want to use StreamPlot to map out the field lines of an electric field $\mathbf{E}$ given by $$ \mathbf{E} = \frac{3D}{4r^{4}}(3\cos(\theta)^{2}-1)\mathbf{\hat{r}} ...
8
votes
2answers
462 views

plotting a trig functions along with its envelope

Note: This questions is quite different from the ones referred to in the comments. Those deal with numerical questions, while this one is algebraic. I have plots of the following type: ...
2
votes
1answer
94 views

Approximation of definite integral by parabolas

This question is related to Trapezoid approximation to definite integral. As promised, I am now asking about how to draw approximation of integrals by parabolas. I tried to modify MarcoB's code, and I ...
0
votes
0answers
30 views
2
votes
1answer
166 views

Plotting a pencil of lines

I want to plot a pencil of lines between line1 and line2 using a formula (alfa*(ax+by+c)+beta*(a1x+b1y+c1)), but it doesn't show me anything. ...
4
votes
2answers
575 views

Triangle mapped on a sphere in $\mathbb R^3$?

How can I map a triangle on a sphere? I want to visualize (plot or animate) it for my student in Non-Euclidean geometry. I have no restrictions on the triangle's kind or on the sphere in $\mathbb ...
0
votes
1answer
88 views

Solving and plotting a non-linear and polynomial equations of degree 3 and higher

I'm doing the following and cannot plot the function, could anyone spot a problem please ...
0
votes
1answer
25 views

Dimension of plotting window vs PlotRange [duplicate]

For example, let's say I'm plotting this function, Plot[x, {x,-3,2}]. From the answer to this question the plot range is ...
1
vote
0answers
40 views

Create trading chart from Bloomberg historical data

I am using Mathematica 9 with the Finance Platform, and have pulled historical data for the Bloomberg Commodity Total Return Index using the following code. ...
1
vote
1answer
40 views

How to transform ListPlot ticks

I am sure that this is a standard question, but I have not been able to find it, either by a google search or by searching here on the Mathematica StackExchange. If I have a list plot defined by: ...
-1
votes
1answer
47 views

Use two variables function (2d) with manipulate, plot and initial data [closed]

I have a basic idea what I want and I try to describe to you... Ive got initial data in pairs (a,b): data = {{3.2, 4.71}, {3.7, -2.19}, {5.28, 12.39}}; next I ...
7
votes
1answer
75 views

How to plot functions with large slope on a compact domain?

The Mathematica command Plot[(1 - r^2)^(1/32), {r, -1, 1}] does not plot the function near the boundary points. That is, the graph does not attain 0 at r = +-1. ...
10
votes
5answers
4k views

Plotting an Argand Diagram

I have the function: $F(\omega) = \frac{5\; - \;i\;\omega}{5^2\; +\; \omega^2}$ When $\omega$ has the values : $\{ -7, -2,\; 0,\; 2,\; 7\}$ How would I plot the Argand diagram in Mathematica? Or ...
18
votes
4answers
799 views

Hightlight all the self-intersections of a Lissajous figure

This graph–also known as a Lissajous figure–contains so many self-intersections.How can I highlight them? ...
0
votes
2answers
43 views

Manipulating a damped oscillator plot - plot does not show

I was trying to make an oscillation plot that could be manipulated depending on the value of $\beta$. The differential equation is below, and when I just plot the solution, it turns out to be the ...
-1
votes
2answers
32 views

How to change the plot range of on an axis other than z in a ListPlot3D [closed]

ListPlot3D[Table[Tan[j i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}]] I want to choose the plot range of y or x-axis so that for example only the right "hill" of the ...
2
votes
2answers
271 views

Count the number of regions made by Lissajous curve

How many disconnected regions does Lissajous curve divide the plane into? For example: Let g=ParametricPlot[{Sin[2 t], Sin[t]}, {t, 0, 2 \[Pi]}] The number ...
0
votes
1answer
38 views

Compute and Plot the element of a complex sequence

I'm new tho mathematica. I have a complex sequence ${z_n}$ with $z_0:=c$ $z_{n+1}=(z_n)^2+c$ for all $n\in N$ where c is some complex number, I need to plot the first 20 terms of this sequence ...
1
vote
2answers
80 views

Plotting a function based of a complicated integral

I would like to have help in making a plot of a complicated function based a definite integral. - desired graph My calculation: ...
5
votes
2answers
104 views

SetOptions for CoordinatesToolOptions for DateListPlot?

Bug introduced in 10.0 and persisting through 10.1.0 or later DateListPlot does not respect my Options setting for ...
14
votes
2answers
271 views

How to ContourPlot a function of the coordinates on the Earth's surface on a map projection

There are two similar questions (this and this), but one is too specific and the other is apparently not clear and has no answers. I'll try to make the question more complete. Suppose you have a ...
0
votes
1answer
65 views
0
votes
0answers
43 views

Distorted plot when I plot Sqrt[4 - x^2 - y^2] and -Sqrt[4 - x^2 - y^2 together [duplicate]

When I plot Sqrt[4 - x^2 - y^2] and -Sqrt[4 - x^2 - y^2] together,the z axis doesn't have ...
12
votes
3answers
829 views

Problem with ParametricPlot

I'm plotting [gear curves1, and I observe that for some parameter values ParametricPlot[] does not plot all the teeth: ...
4
votes
1answer
106 views

BoxWhiskerChart Notched: how is the notch calculated?

I am aware of one convention for the uncertainty in a median: it is 1.58 * IQR / Sqrt[n], where IQR is the inter-quartile range and n is the number of data points. This was proposed by McGill, Tukey, ...
0
votes
0answers
74 views

Plotting a function against some other function?

I want to plot a function against two other functions which are actually determined by ndsolve in my mathematica code. ...
0
votes
0answers
74 views

Can I open Mathematica to plot something via some kind of Windows command?

I have a software package for alternative musical tunnings called Scala. This package has a command to plot a musical scale using gnuplot. It seems that Scala sends some kind of command to Gnuplot and ...
4
votes
1answer
224 views

Package for nonlinear plot coordinates

Is there a package for plotting in nonlinear coordinates? I mean that I provide coordinate transformation functions {xi(x,y), eta(x,y)}, for example ...
0
votes
0answers
29 views

Frame Tick Labelling in Power Form [duplicate]

Hopefully a simple one for you. I would like to edit the frame ticks on my plot such that they are in "power" form. As it stands I try: ...
4
votes
1answer
93 views

Arrowheads not quite working as expected

I apologize if this question already has an answer, but my search has yielded no results, and I can't seem to figure out what's wrong with my code, so I thought I'd ask here. I'm using Mathematica 10: ...
0
votes
0answers
47 views

How to solve using NDSolve

(d^2 f)/(dρ^2 ) + 2/ρ df/dρ = 9 ϕ^2 (f/(1+βf)) Boundary conditions df/dρ=0 at ρ=0 f=1 at ρ=1 We have to make plot of η vs β using following equation with above ...
3
votes
2answers
93 views

Plot 2d-ItoProcess data in a plane

I am trying to simulate a simple 2d Ito SDE (randomly perturbed Hamiltonian system). Below is the code. ...
1
vote
1answer
73 views

How do I create a histogram of the binomial distribution for, say, p=.5 after 10 trials?

I apologize if this is question is too simple, if so it's because I'm a beginner. Anyway, it was easy enough to create a list plot, but I couldn't find out how to create an output that displays the ...
1
vote
2answers
39 views

BoxWhiskerChart Vertical Line

I have made a box plot to show the spread of past paper results for my A2 exams so I can easily see which subject need more work! ...
1
vote
3answers
100 views

Rotation of a cylinder around its vertical axis [closed]

I want that that cylinder plotted by RevolutionPlot3D[{Sin[t], Cos[t], u}, {t, 0, 2 Pi}, {u, -10, 0.02}] to rotate around its vertical axis. If possible I want ...
2
votes
2answers
58 views

How do I execute a block of code multiple times? [closed]

Rudimentary pseudoconceptial question: I have a specific block of code that uses random variables and generates a plot at the end based on random code. I want my code to run 10 different times to get ...
-2
votes
2answers
49 views

Vary the color of a 2D scatter plot [duplicate]

This is what I want. I want to change the colors as I progress through a list.
6
votes
2answers
97 views

Why does PlotRange in DensityPlot have no effect

It looks like DensityPlot and ListDensityPlot automatically clip the plot range to the min and max value of the data, when ...