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

learn more… | top users | synonyms (5)

-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. ...
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 ...
0
votes
1answer
47 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?
3
votes
1answer
70 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 ...
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 ...
-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 ...
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: ...
4
votes
2answers
177 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.
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: ...
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} - ...
0
votes
0answers
32 views

Error when using NDSolve in SIR model

I have the following code for a SIR model: ...
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. ...
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
votes
0answers
39 views

Window adjustment to see data points [closed]

Here is my code ...
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: ...
3
votes
2answers
85 views
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 ...
8
votes
5answers
657 views
7
votes
1answer
78 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. ...
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
2answers
45 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
33 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 ...
0
votes
1answer
39 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 ...
2
votes
2answers
274 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 ...
1
vote
2answers
81 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: ...
1
vote
1answer
145 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 ...
0
votes
1answer
65 views

How to fix the PlotRange?

I have the following plot: ...
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 ...
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. ...
19
votes
4answers
806 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
0answers
75 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 ...
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
109 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
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 ...
14
votes
2answers
277 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 ...
3
votes
2answers
95 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
42 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! ...
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: ...
2
votes
2answers
60 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
50 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 ...
1
vote
3answers
105 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 ...
5
votes
1answer
194 views

How to obtain adaptive sampling as in Plot function?

Adaptive sampling in Plot function can capture the oscillation of a function with very few points. How can I get a similar sequence of point pairs without using ...
0
votes
0answers
54 views

Convolution of Airy disk and Gaussian function

I would like to plot the convolution of an Airy disk, [((2*BesselJ[1, x])/x)^2] and a Gaussian function [Exp(-(x^2)/(2*c^2))]. ...
1
vote
1answer
45 views

How can I plot more regression trend line in the same graph?

I would like to do something like the example I drawed manually: ...
0
votes
3answers
81 views

Revolution of two curves around the y-axis

I've looked through the other posts on rotating a function around the x or y axis and haven't had any luck. my question is this how do i rotate the area between the functions $f(x)=x^2+1$, and ...
1
vote
1answer
72 views

Slow program- Mathematica shuts down

I've been trying to draw dynamic pictures of level sets of certain polynomials. The code right now looks like that : ...