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

learn more… | top users | synonyms (6)

2
votes
2answers
132 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
1answer
49 views

smoothing plot edges

I have a data list as mydata: ...
14
votes
4answers
529 views

How to plot Ramanujan's continued fraction in Mathematica?

I want to plot Ramanujan's continued fraction: $$R(q)=\cfrac{q^{1/5}}{1+\cfrac{q}{1+\cfrac{q^2}{1+\ddots}}}$$ but I do not know how to define this function in Mathematica. How do I define and plot ...
15
votes
5answers
14k views

How can I plot the direction field for a differential equation?

I'd like to plot the graph of the direction field for a differential equation, to get a feel for it. I'm a novice, right now, when it comes to plotting in Mathematica, so I'm hoping that someone can ...
0
votes
1answer
125 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 ...
0
votes
1answer
46 views

Ndsolve parametricplot

Ndsolve solution cant manipulate parametric plot!! ...
3
votes
1answer
129 views

How can you get the area of a region from an image?

Suppose we have a square of side "L" m, How can I calculate the hatched area, if the corners of the square are centers of circles. It can be generalized to any region? edit: This is the result I ...
10
votes
3answers
660 views

MovingAverage[] and Fit[] with data containing DateLists

I have data which has the following appearance: data = {{DateList, Real}, ..., {DateList, Real}} It's easy to visualize the data by using ...
2
votes
2answers
67 views
31
votes
5answers
746 views

How to examine the structure of Graphics objects

One difficulty I'm encountering in studying the structure of Graphics objects is that I have not yet found a way to print or display such structures that are ...
0
votes
0answers
20 views

Specifying plot markers (filled diamonds or squares) [duplicate]

I can plot my list data and I can use of specifying circle to show my plot-markers. I used of Mr.Wizard comments on that page. But I don't know how can I fill the circles of those plot-markers with ...
4
votes
1answer
103 views

Adding z-value to mesh lines in Plot3D as is done in ContourPlot

Consider: f[x_, y_] = (x^3 + y^3)/(x^2 + y^2); Plot3D[f[x, y], {x, -1, 1}, {y, -1, 1}, MeshFunctions -> {#3 &}] Which produces this image: Is there a ...
1
vote
1answer
69 views

Discrete plots instead of parametric plots

I have a big iteration process and I want to look at the trajectories. Although if I consider ParametricPlot for this process, Mathematica connects points with lines. And for ...
1
vote
1answer
71 views

Manipulate to determine $\delta$ given $\epsilon$ in continuity question

This is a continuation of a question I posed at: Examining the function $f(x,y)=xy(x^2-y^2)/(x^2+y^2)$. The quest is to analyze the partial derivative $$ f_x(x,y)=\begin{cases} ...
12
votes
5answers
4k views

Plotting complex numbers as 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 ...
0
votes
0answers
35 views

Graphing imaginary numbers [duplicate]

I'm solving [Sum(i=1..p) x^i] = 100. The max value of 25 is arbitrary. I would like to see how the solutions look in 2-dimensional space. How do I view an imaginary number on a Cartesian coordinate ...
4
votes
2answers
95 views

ColorFunction uses graphics coordinates instead of Plot3D coordinates

I've had the same effect in Mathematica 9 and 10. I'm trying to color a 3D Plot with another function, let's call it colorFun ( it should highlight the areas where the colorFun is above a certain ...
3
votes
2answers
173 views

Set the scale in ColorFunction [duplicate]

The following plot (A) ListLinePlot[{0,1,2,3},ColorFunction->"TemperatureMap"] goes from blue to read. The following plot (B) ...
14
votes
1answer
153 views

Is plot polluting my context?

Bug introduced in 10.0.2 or earlier and fixed in 10.1.0 Whenever I plot something 3 temporary variables get added to my current context. Example (fresh Kernel): ...
0
votes
2answers
69 views

Not seeing line defined in an Epilog option

In the following code, the line defined in Epilog option of my 2nd parametric plot doesn't show up in the content pane of my ...
4
votes
2answers
83 views

Plotting results from Findroot

I know this has been asked, but I cannot seem to understand the solutions. What I need to know, because I have my first domiciliary test this Monday, is how to plot the output from ...
5
votes
4answers
512 views

How to create a thick spiral then extract the coordinates from the image?

___________________ FOLLOWUP TO THE QUESTION : _____________________ Does anyone know how I could quantify the thickness of the spiral AND the thickness of the empty space between the arms? I know ...
2
votes
3answers
171 views

Fitting and plotting Weibull distribution

How can I find the best fitted 2-parameter Weibull's distribution (PDF) to describe my data? How can i plot my data and estimated distribution all in one graph? How can I show/compare results of ...
2
votes
1answer
74 views

Still more problems with Fitting, please help

I'm in a little over my head here and I'm fully aware of it, so I'm hoping for some help. I've been assigned to a project where I am given data: http://www.pastebin.ca/3061136 (Example Data) I ...
14
votes
3answers
1k views

On coloring the faces of a surface differently with parameter-dependent colors

Old versions of Mathematica ($VersionNumber < 6) supported a particular syntax of ParametricPlot3D[] that allowed for ...
3
votes
2answers
146 views

An informative contour plot

I'm trying to visualise the graph of a function $f(x,y)$ of two real variables using ContourPlot. Here are the things I'm after: The points where $f(x,y)=0$ ...
24
votes
2answers
767 views

Is there a way to have Plot draw points on a function where the function is undefined as circles as in textbooks?

A very common feature of graphs of functions used throughout textbooks are simple indications, such as open circles, of the points at which a function is undefined. Is there a way to do this in ...
12
votes
4answers
4k views

Graphics plot of point using unfilled circle

I'd like to be able to place points on a plot using Graphics[{Point[{a,b}],....}] but have the plot symbol be an unfilled circle. I've looked around but can't find ...
27
votes
4answers
2k views

Is there something like DensityPlot3D to visualize atomic orbitals?

I'm visualizing some hydrogen like atomic orbitals. For looking at plane slices of the probability density, the DensityPlot function works well, and with something ...
1
vote
2answers
52 views

Specifying the PlotRange according to a desired center

I have this plot of $f(x)=\ln x$ and the tangent line at $x=e$, and I'd like to specify the PlotRange so that it's the rectangle with its centroid at $(e,1)$, kind ...
5
votes
2answers
129 views

Problems with ListPolarPlot

I want to plot the data that I got from measuring the angular dependency of the radiation intensity of a microwave emitter. My data: ...
17
votes
3answers
1k views

Plot discontinuous function with black and white disks marking discontinuities

Let's say I'd like to plot Sign[x + 0.5]: Plot[Sign[x + 0.5], {x, -1, 1}] Mathematica will give this: This plot does ...
-2
votes
1answer
47 views

Co-ordinates/ data marker in 3D plot

How to place the data marker or see the co-ordinates in below 3D plot and how to list all data points in this plot? ...
10
votes
1answer
4k views

Plot, extract data to a file

I need to save data that Mathematica uses inside the Plot command. The format that I would like to have is: x1 y1 x2 y2 ..... ...
8
votes
1answer
505 views

Is there any way to reveal a removable singularity in a plot? [duplicate]

Let's say we have a function $f(x)=\dfrac{2^x-2}{x-1}$. The graph of the function in Mathematica looks like this: The function in question is obviously not continuous at $x=1$, but that doesn't ...
1
vote
1answer
81 views

How to reconstruct a surface given points {x, y, z} and the surface normals {nx, ny, nz} at these points

I have 3D points above a 2D regular grid. At those points I know the normal vector of the surface. I am looking a command or function in Mathematica, like ...
1
vote
2answers
102 views

How to change the scale of a ListContourPlot to logarithmic and combine it with a LogLinearPlot

My code is available from this link My questions are: 1) how can I change the compressed scale to fine one like {y = 0.1, 1, 10}, {x = 0.01, 0.1, 1, 10, 100}. ...
2
votes
1answer
52 views

ContourPlot3D, Characteristics of PDE

The aim is to plot the solution of a PDE with initial value along with its characteristics and initial value. $x u_x - y u_y = 0$ on the line $x=y=u=t$, i.e. $u(t,t)=t$ $(t > 0)$. Then the ...
6
votes
3answers
114 views

LogPlot does not show all points

LogPlot ignores points which are going to "too high" values: ...
0
votes
3answers
73 views

Confusing “Part::pspec” and “Part::partw” following call to ParametricPlot3D

The problem I'm having is that the function definition given below continually gives me baffling error messages. I'm trying to turn a list of 3D points into a function that approximates a curve by ...
5
votes
3answers
1k views

ContourStyle for a particular contour line in ContourPlot

I have the following command: ContourPlot[(-1 + x)^2 (-1 + y) + x^2 y, {x, 0, 1}, {y, 0, 1}, ContourLabels -> True] which gives me I want to highlight the ...
2
votes
1answer
77 views

Plot works while RevolutionPlot3D doesn't

I am trying to draw a surface of revolution recovered from a differential equation with a singularity. In the simplest case, the answer is a sphere. You can check by hand. I manage to draw 2 ...
3
votes
2answers
132 views

ParametricPlot with 2 variables

I want to try plotting this: As you can see the first axis is v and the second is just dependent of the angle of $\Phi$ . The function is ...
2
votes
1answer
74 views

Nonlinear abscissa in TimelinePlot

I would like to produce a TimelinePlot in which the scale of the abscissa varies nonlinearly (compressing old dates and expanding recent dates). Others have ...
3
votes
1answer
94 views

Plotting Tupper's self-referential formula using ArrayPlot

For those who are not familiar with Tupper's self-referential formula, here is the wiki link. My interest was to plot it. I tried the naive approach using ...
2
votes
1answer
95 views

Minkowski sum and product of 2D-regions

Let $A_j$, $j=1,\dots,n$ be subsets of $\mathbb C$ defined by $$ A_j=\{z\,|\,f_j(z)\geq0\} $$ where $f_j:\mathbb C\to\mathbb R$ are given functions. I am interested in the following subsets of ...
1
vote
1answer
115 views

How to make a cumulative time plot?

So I'm working with this data set where there is just one input(a date and time) per line in a .csv file. I've let Mathematica understand the input using "DateStringFormat". The time looks like ...