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

learn more… | top users | synonyms (4)

21
votes
5answers
1k views

How to plot the contour of f[x,y]==0 if always f[x,y]>=0

I've been stuck at this problem for weeks and I've asked several related questions here: ContourPlot shows only part of the contours [duplicate] How to plot the contour of the radius part of a ...
23
votes
5answers
553 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 ...
3
votes
1answer
189 views

How to plot the contour of the radius part of a complex function

Suppose we have a complex function $f(x,y)$, in which x and y are real variables. In theory we can write the function into the polar form $$ f(x,y)=r(x,y)e^{i\theta(xy)} $$ where $r(x,y)$ and ...
9
votes
1answer
186 views

Structure of Graphics (esp. those produced by Plot, ListPlot, etc.)

I'm looking for a description of the structure of Graphics objects, aimed at the advanced Mathematica programmer. The motivation for this question is the ...
2
votes
1answer
428 views

How to plot the Euler's formula in 3D?

In Von Neumann's stability analysis of Finite Difference Equations, the Euler's formula is used to describe a perturbation. Now the finite difference equation is stable if this perturbation does not ...
4
votes
1answer
102 views

How to explain the result of the two functins?

How to explain the result of the two functins? Input1: ...
5
votes
1answer
320 views

How to make a filled Ellipsoid?

I want to make a filled Ellipsoid, but it seems Filling options doesn't work in Graphics ...
7
votes
3answers
2k views

How to plot periodic function's graphic?

How to plot periodic function's graphic? For example, f(t) = t when -5<t<5 && f(t+10) = f(t) ...
2
votes
1answer
365 views

ContourPlot shows only part of the contours [duplicate]

Consider these contour plots: f[x_,y_]:=Cos[x] + Cos[y] ContourPlot[f[x, y] == 0, {x, 0, 4 Pi}, {y, 0, 4 Pi}] ...
0
votes
1answer
54 views

can someone how to plot $x = c$ in a different color scheme? [duplicate]

Exactly as title says. I do not know why I am having so much trouble with this. I have googled many solutions and I cannot find a straightforward answer. Also, the only method I know is "Gridlines" ...
1
vote
3answers
172 views

Plotting data with 4 columns!

I'd like 3Dplot a list of data with 4 columns (these are mesh outputs): x1 y1 z1 Dose1 x2 y2 z2 Dose2 . . . which command i ...
0
votes
2answers
102 views

How can I plot the integral of a unit tangent vector? [closed]

The questions states: Let r[t_]:= {E^(-t), 3t^2, 4 Sin[t]} Plot and compare r[t] and the integral of ...
3
votes
0answers
65 views

Combine 2D images perpendicular to each other [duplicate]

I would like to create a slice plot from multiple density plots in Mathematica. A solution for this probem has been posted in this forum before (Is there something like DensityPlot3D?). But how would ...
5
votes
1answer
313 views

Labelling of multiple BarChart elements with “Stacked” layout

I am trying to create a stacked BarChart where each BarChart has different ChartLabels. ...
0
votes
0answers
35 views

Scaling at density plot [duplicate]

I have two data set: One's range is between 0 and 0.5 and another's range is between -0.2 to 0.3. I want to draw two density plots with common scale: from -0.5 to 0.5. How can I fix the scale? ...
2
votes
1answer
199 views

Plotting a matrix in 3D With specific ticks [duplicate]

I have matrix and I want to plot it in 3D ...
2
votes
2answers
181 views

Reducing quality of Graphics3D scene to improve performance?

ProteinData["SERPINA1", "MoleculePlot"] gives the detailed Graphics3D plot below. I'd like to make many small copies of this ...
1
vote
1answer
92 views

Is there a TwoColoring function of Graph object?

The following code shows the GraphUtilities package makes a problem for Graph object. I want to use a ...
0
votes
1answer
285 views

List plot joined with stair steps instead of diagonal lines

What's a simple way to plot a list of points so that they're joined with stair steps instead of straight lines between the points? I'd imagine something like... ...
0
votes
1answer
253 views

How to make a scatter plot from 2 images [closed]

How can two images be used to create a scatter plot, image 1 being the x axis, image 2 being the y axis, and the color of each plot point being the bin count?
0
votes
1answer
88 views

Can a large Grid of 3DListPlots be rotated by a single Dynamic control?

So I have a few hundred plots in a grid, that I thought would be nice to adjust the data view with a Dynamic slider. I'm using Jens solution for the Grid plotting here . Manipulating multiple plots ...
2
votes
1answer
151 views

How to combine multiple Graphics3D scenes into a single Graphics3D scene?

ProteinData["A2M", "MoleculePlot"] gives you a Graphics3D object below. I'd like to display multiple of these proteins in a ...
11
votes
2answers
298 views

Color Histogram3D by Bin Location

I am using a Histogram3D plot to view the correlation of the R & G of an RGB image. Naturally, I want the bins to have a color corresponding to their $x$, $y$ ...
0
votes
1answer
125 views

Plotting blends of colors over lists of lists in 3D

I have a list of lists containing spectral data, many thousands of points long. Each sublist contains 13 parts, and I need to plot them in 3D with a blend of RGB colors derived from the spectral ...
7
votes
4answers
612 views

Plotting an epicycloid

I am fairly new to Mathematica and I cannot figure out how to plot an epicycloid. I have plotted some neat looking things in my attempts, but can't make one. I am not looking to make an animation, ...
1
vote
2answers
296 views

Input as an ordered pair instead of as a matrix [closed]

when I input pp = {{2.0, 10}, {4, 19}, {6, 31}, {8, 40}, {10, 51}, {12, 59}, {14, 70}} and press enter I get a matrix output. I want it as an ordered pair to find the best fit line, using ...
4
votes
2answers
315 views

How to exclude some points to make them more evenly distributed in a figure

If there are some points in a figure, how can I exclude some points to make them more evenly in the figure? 'Evenly' here can be defined as the number of points in each $0.01*0.01$ box is at most one. ...
6
votes
1answer
205 views

Intersection of two functions in SphericalPlot3D

How do I draw the intersection of these functions? ...
0
votes
1answer
424 views

How to plot a polygon and a line on the same graph?

I have to plot the line 1 + 4 t, 2 + 5 t, 1 + 12 t and the polygon with points {2, 3, 4}, {1, 4, 5}, {3, 3, 3} in the same graph to see if the line goes through the polygon. I was able to get them to ...
16
votes
2answers
758 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
1answer
377 views

Coloring Bifurcation Diagram

I have the following Pitchfork bifurcation: f[x_, r_] := r x - x^3 I was able to find some nice code on this site to draw up the Logistic Map. I have the ...
6
votes
3answers
170 views

Can't force UnitConvert to be evaluated in Plot

I'm trying to use new units support in Mathematica 9. When I Plot Quantity functions everything is OK. ...
0
votes
1answer
124 views

How to get the coordinates of the point that the mouse touch?

How to get the coordinates of the point that the mouse touch? When my mouse touch the picture that the Mathematica touch ,I hope it can return the coordinates?
0
votes
0answers
25 views

How to plot crossing lines shown by one function [duplicate]

I'm trying to represent a 3-ellipse and the surrounding solutions to the equation,but unfortunately it's not working as I've hoped. In the following picture, the egg shape is h[x,y] and the rest is ...
0
votes
1answer
66 views

Manipulate and global assignments [duplicate]

I've a (perhaps too) basic questions that has been bugging me for a while. Manipulate seems to ignore global assignments. For instance the following does not result in the obvious output one would ...
0
votes
1answer
157 views

how to plot and animate an hyperbole? [duplicate]

I am an new user of Mathematica and learning basics so please guide me I tried to use this code ...
1
vote
0answers
116 views

Why is CountryData function failing?

I am unable to get the CountryData function to work. I have tried FinancialData, CityData, ...
2
votes
1answer
139 views

Plot above desired region

I would like to plot a real-valued function $f$ of two real variables $x,y$ but only over the region of the $x$-$y$ plane satisfying \begin{align} x>0, \qquad -x^{3/2} < y < x^{3/2}. ...
0
votes
1answer
102 views

Nested function problem [closed]

I have trouble defining the following function in Mathematica sp[M_, u_] := 1/Sum[u^k M!/(M - k)!, {k, 0, M}] After defining it Mathematica displays an error. ...
2
votes
1answer
354 views

Grid Lines in ListPlot

Why is Mathematica plotting a horizontal line at $y=2$ in the following example: ListPlot[Table[i,{i,1,10}],Frame->True,GridLines->None] How to get rid ...
2
votes
2answers
290 views

Several questions on how to make a ListLogPlot look pretty

1- I have the following curve which is the result of evaluation of some calculation. the curve should have value at zero. but in the plotting I can see there is a gap between the y-axis and the ...
14
votes
1answer
301 views

Method -> {“AxesInFront” -> False} for Graphics3D

I'm aware of two ways to manage positioning of Axes for Graphics3D: AxesOrigin and ...
1
vote
3answers
479 views

Adding a Sphere onto an existing 3D plot

I have a 3D plot. I need to add a small sphere marking the starting point, r[t] == 0. I'm pretty new at Mathematica and would greatly appreciate some help. ...
0
votes
1answer
235 views

ListPlot with PlotRange -> Automatic giving unexpected results in V.9

There seem to be a problem with ListPlot auto ranging in Mathematica 9. Here's my code: ...
7
votes
2answers
2k views

Labeling points of intersection between plots

There are several answers where Mathematica used mesh points to show graphically where curve intersections exist. For example: Marking points of intersection between two curves or Is there a better ...
13
votes
3answers
513 views

How can I convert colors to grayscale?

I want to change the above colored plot into a grayscale plot. I have tried this: CCGray[pic_?ImageQ] := Module[{}, ColorConvert[pic, "GrayScale"]]; but it ...
-1
votes
1answer
179 views

Linking two differential equations

The solution and plot of the Differential equation is $\frac{d^2S(r)}{dr^2}+\frac{1}{r}\frac{dS(r)}{dr}-S(r)+3S^3(r)=0$ ...
13
votes
3answers
887 views

show density plot on US map

I have a bunch of data points in the form of {latitude,longitude}. How can I plot their density on a US map? Single points on the map do not show clearly their ...
0
votes
2answers
236 views

LogPlot of the calculated data in For Loop in Mathematica

I have the following loop, for calculating a data for different values of inputs. How I can plot the result at the end of For loop? Its not matter if the plot is inside or outside the loop, I just ...
-1
votes
1answer
360 views

plotting the solutions of system of differential equations [duplicate]

The following code include the system of differential equations: ...