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

learn more… | top users | synonyms (5)

4
votes
1answer
84 views

Problems with TimelinePlot

I'm trying to play with the example in this recent blog post, but I'm having a few basic issues with TimelinePlot: Labels are getting cut off: How can I get ...
1
vote
1answer
60 views

Plot x and y ErrorBars from file

If I have a set of data like this one saved in a txt file ...
2
votes
1answer
80 views

How to make a 3D plot using polar coordinates?

From the beginning: I have function $u(r)$ and radial symmetry in system. Also I've got results as data array ${u_i(r_i)}$. And I want to plot it as $u(x,y)$. Due to radial symmetry its gonna be like ...
0
votes
1answer
35 views

Plotting partial sums of Taylor Function

I need to plot the partial function: $T_f(x)=\log 2+\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{2^kk}(x-2)^k$ for $n=2$,$n=4$ and $n=6$ on the same plot over the interval $[-\frac{1}{2},4]$ and also the ...
4
votes
2answers
339 views

Simple Monte Carlo simulation

I want to find the Monte Carlo simulation of the integral $$\int_0^1 \sqrt{1-x^2}\mathrm dx$$ The Cesàro mean is $$I_n=\frac1n\sum_{k=1}^{n} f(U_k) $$ I want to plot the scatter plot ...
1
vote
1answer
48 views

Plotting datasets using ErrorListPlot

I am trying to make list plots with the ErrorListPlot function. I have two datasets (ds1 and ds2) of which one plots nicely (ds1) and the other just give blank plots. I cannot see any difference in ...
1
vote
3answers
209 views

How to plot an implicit function; how to plot contours of a surface

How can I plot the circle $(x-4)^2 +(y-4)^2 = 4$ and two level curves of $f(x,y)=x^3 + y^3 - 3xy$ on Mathematica. I have tried using the ContourPlot command. Can ...
1
vote
3answers
70 views
0
votes
0answers
46 views

Extracting points from highly oscillatory data [closed]

I got an implicit function , say f(x,y)=0, and I drew a contour plot of it as shown below(the points of interest (POI) are inside the red circles): Now, I want ...
0
votes
1answer
119 views

RegionPlot of an area inside a polar plot (or its equivalent parametric plot)

Let' s take a most simple example for a polar plot, the Archimede's spiral. ...
2
votes
1answer
32 views

Query about Exclusions

I guess this has already be answered. Plot[1/(x^3 - 2 x^2), {x, -2, 4}, Exclusions -> True] Plot[1/(x^3 - 2 x^2), {x, -2, 4}, Exclusions -> 2] I cannot ...
1
vote
2answers
77 views

Plotting the solution of a cubic equation against a coefficient in the equation

I have to plot the solution of the following equation against the coefficient $L$. Since it's a cubic equation, I'd like to filter out the real solution first and plot that then. The equation is $L ...
0
votes
0answers
33 views

Shorter code for repetitive commands [duplicate]

How to give a shorter one or two line command without repetition (single variable change in a subroutine): ...
0
votes
1answer
41 views

Adding circles on a function plot depending on the slope

I have the following function and I use manipulate to change the plot of the function and the integral respectively. In nonlinear dynamics one plots a little circle/point on the intersections of the ...
-1
votes
0answers
25 views

Changing font of plot axes labels [duplicate]

I was wondering if anyone knew how to make these 2 plots in Mathematica (or any software in which we could). I have the font (it's the LaTeX font) but I am not sure how to set the axes' font to that. ...
4
votes
1answer
261 views

ArrayPlot copied to PDF shows blurred mesh [duplicate]

Certain (but not all) images displayed in ArrayPlot, and then copied to PDF, show what appear to be fuzzy mesh lines in white areas. An example is shown below. I ...
3
votes
1answer
68 views

Add text or descriptions to Plot

I would like to add some descriptions or qualifications to Plot as follows: Those in black are what I would like to add to my Plot (this graph is manually created ...
0
votes
1answer
46 views

Animating a Sphere to move along a 3D curve [closed]

How do I get a sphere to move along a 3D function in Mathematica?
0
votes
1answer
88 views

Plotting a NDSolve solution

I'm working on a neutrino oscillations problem, and am running into issues ploting the solution to my differential equations. The equations have non-analytic solutions so I'm using the ...
1
vote
1answer
54 views

Unable to render 3D plots in Mathematica on Raspberry Pi [closed]

I just bought a Raspberry Pi 2 and I've just started to use Wolfram Mathematica. I tried to execute one of the examples given in the Wolfram documentations page. The problem that I am facing is that ...
9
votes
0answers
158 views

More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 7.0 or earlier and persisting through 10.1 or later While the specific bug affecting Plot described in AbsoluteOptions prints error messages in ...
2
votes
1answer
50 views

Plot directional field with a initial vlue

I do not have enough reputation to comment on other questions, hence I have to ask my own one I want to solve the following nonlinear first order ODE, $$(1 + x) (0.5 y[x]^{-0.5} (x - y[x])^{0.5} - ...
-3
votes
0answers
39 views

Harris corner detection and plots [closed]

Could someone help me recreate these plots using Mathmatica. https://youtu.be/9-F5-gUIAWE?t=20m28s The are applying a hessian matrix to an image, and calculates the eigenvector.. And They then ...
5
votes
1answer
237 views

Lagrange Multiplier

We are asked to maximize and minimize $f(x,y)=4xy$, given the constraint $4x^2+y^2=8$, using the Lagrange Multiplier method. First, I enter the functions f and g. ...
4
votes
1answer
285 views

How to draw multi curves in a graph with errorbars

The curves are composed by several 2*n nested lists. I want these curves be placed in a 3d way, like the xy plane is for the data, different curves are located in several parallel xy planes with ...
0
votes
1answer
34 views

Plotting the image of a curve under a complex polynomial using Mathematica

I would be able to plot the image of a curve (say the circle with radius $1$ centered at $1+i$) under a complex polynomial (say $p(z)=z^2$) using Mathematica. I know how to find the level curves of ...
3
votes
4answers
282 views

How to plot frequency polygon?

I have data sample. Built and plotted histogram based on the sample. How can I plot frequency polygon now? That's example of the desired result. Here is code: ...
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 ...
4
votes
2answers
175 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
85 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
144 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
253 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
182 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
463 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
32 views
2
votes
1answer
167 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
576 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
41 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: ...
7
votes
1answer
77 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. ...