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

learn more… | top users | synonyms (4)

3
votes
1answer
121 views

How to draw a tropical surface?

By definition, a tropical surface in $\mathbb R^3$ is the set of points $(x,y,z)$ where the maximum $f=max(f_1,f_2,\dots,f_n)$ is attained at least twice, here $f_i$ stand for some linear functions of ...
0
votes
0answers
48 views

Fixed colors for fixed values in contourplot legend

I am trying to make a contour plot of a gravitational potential, consisting of a sum og different potential.s. I would like to plot them separately with a BarLegend that has the same colors for the ...
0
votes
1answer
55 views

Plotting six chosen rows of a matrix

I have a matrix,W, whose dimension is n x n, each entry is a number. I need to plot only the values of six rows, namely those ...
0
votes
2answers
77 views

Combine two functions in mathematica to get one image with two elements

I am trying combine this two functions into one piece in grid. ...
0
votes
1answer
95 views

Confused by behavior of ListLogPlot in Mathematica 10

I have a notebook I originally created in Mathematica 8, where the following (simplified) code worked fine. ...
2
votes
1answer
395 views

White regions in DensityPlot — is this a bug with ColorFunctionScaling?

Is this a bug with ColorFunctionScaling? When I try to supply my own ColorFunction Mathematica seems to partially ignore it, ...
7
votes
2answers
402 views

A topoplot function for Mathematica

Matlab's EEGlab toolbox has a topoplot function: http://sccn.ucsd.edu/eeglab/ A typical topographical plot of an EEG signal is given below: How can I reproduce this in Mathematica. I know that ...
18
votes
3answers
4k views

Is it possible to change the color of plot in Show?

For example: p = Plot[Sin[x], {x, 0, 1}] Is it possible to write options in Show to change the curve's color for example into ...
0
votes
0answers
21 views

blank part in the contour plot [duplicate]

Why did my listcontourplot have some blank part like the below? I've checked that my data is in the range of [2.5, 4]. Is it because that it changes so fast??
2
votes
0answers
69 views

Setting OperatorSubstitution to false causes Plot's labels of sufficiently small size not to appear in the specified typeface. Is this a bug?

This problem is no longer there after I upgraded to Mathematica 10.0.2. If I set OperatorSubstitution to False, the labels of ...
15
votes
5answers
423 views

Plot a partition of the sphere given vertices of polygons

I saw in this question that Mathematica can draw spherical triangles. I guess something similar can be done to plot a spherical polygon. I am interested in something similar: I have a set of ...
0
votes
0answers
21 views

ContourPlot looking choppy [duplicate]

I want to plot a simple curve, the bifolium (x^2+y^2)^2-yx^2=0. I entered n=1/2; ContourPlot[(x^2 + y^2)^2 - y x^2 == 0, {x, -n, n}, {y, -n, n}] into mathematica and got the plot which looks very ...
3
votes
1answer
40 views

listcontourplot on a sector of a circle [duplicate]

s = Import["Desktop/tension.xlsx"]; ListContourPlot[s, Contours -> 10, PlotLegends -> Automatic] In fact, it is a contour of a circular part from (2,0) ...
1
vote
1answer
75 views

Streamline Plot from velocity discrete values

I solved Navier Stokes equation in C for lid driven cavity flow and extracted converged values of u velocity and v velocities in ...
1
vote
1answer
31 views

Setting Fixed Axis

Is it possible to prevent the values of axis of a 3D plot from moving? If I run this code: ...
1
vote
2answers
48 views

3D box dimensions

How can I set the dimensions of the box of a 3D function, without influencing the function? For example I want to see this function ...
0
votes
0answers
37 views

3D graphics objects don't work in Plot3D Epilog? [closed]

I can add graphics objects like Polygon and Arrow in a Plot ...
5
votes
0answers
61 views

Strange artifacts on graphics saved as PDF

I have a problem when plotting 3D graphs. Plotting any graph with the default settings using Plot3D, e.g. ...
2
votes
1answer
63 views

Stability Boundaries via Routh-Hurwitz Criterion

I'm attempting to determine the stability boundaries of a 2nd order system via Routh-Hurwitz stability criterion. That is to say, I need to compute when a polynomial, which is in terms of variables ...
1
vote
2answers
158 views

Want to put additional items in my plot legend

I was able to plot most of the parts of the figure. But I have a problem with some legend items. Here is my code: ...
0
votes
0answers
26 views

Draw sample functions from Gaussian Process prior

Previously, I have written implementation codes of Gaussian Process regression in Python and Matlab. However, for better interaction and visualisation, I am currently working on implementation in ...
2
votes
2answers
150 views

graph of the Cantor set in Mathematica

The interval [0,1] of the real line, which we call C0, and divide it into three equal subintervals. In this way we obtain the following intervals [0,1/3],[1/3,2/3], [2/3,1] and we interval rid ...
2
votes
2answers
186 views

How to make a 3D plot of $(x^2+y^2-1)^2+(y^2+z^2-1)^2+(x^2+z^2-1)^2=0$ [closed]

How can I make a 3D plot of $$(x^2+y^2-1)^2+(y^2+z^2-1)^2+(x^2+z^2-1)^2=0$$ Does the above equation describes the same region as $$x^2+y^2\le 1\wedge y^2+z^2\le 1\wedge x^2+z^2\le 1$$
10
votes
0answers
132 views

RegionPlot returning a number

Introduced in 10.0, persists in 10.1. I had updated my mathematica to version 10 few days ago. And I had been shocked by the following fact: ...
10
votes
1answer
125 views

Why does Plot try symbolic values?

I have the following code: Test[a_] := (Print[a]; a*2) Plot[Test[a], {a, 0, 10}, PlotPoints -> 5, MaxRecursion -> 0] This should plot ...
8
votes
2answers
167 views

How to make a ArrayPlot/MatrixPlot in polar coordinates?

in fact, I want to plot a image like: Fig1 the picture above is from a paper Zhou K.-J. et al. 2014 about ion up-flow of ionosphere in MATLAB there is a specialized function pcolor which could ...
3
votes
1answer
214 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
30 views

Different Order of Magnitude on Distinct Interval Plot Axes

I have a function as bellow y[x_] := 9*10^-9*(Exp[x/(2*23*10^-3)] - 1) I am trying to plot this function for the range ...
0
votes
1answer
77 views

Plotting with arbitrary units

I would like to plot, say, Sin[x/a] with multiples "a" showing on the x axis as units. How can I do that ? I have tried setting the plot limits e.g. {x, -2a, 2a}. I cannot plot said function even ...
2
votes
1answer
188 views

Place legend without border above the plot

I use Mathematica 7.0 and as far as I know, there is not method PlotLegends, only PlotLegend. I want to set my legend - without background, shadow and frame - above my plot, as in the example belowe: ...
2
votes
2answers
151 views

random discrete data 3D plot

I get the random discrete data as follows ...
0
votes
0answers
39 views

Using mathematica to to find region of integration of triple integral [closed]

essentially what i want to do is see the region of integration so i can figure out the limits i need to integrate over i am able to plot each bound individually but can put them together to make the ...
0
votes
1answer
84 views

Plotting multiple functions in 3D plot [closed]

I would like to plot the flowing into one 3D region. So I know the region of integration the functions are $z=1-x-2y, z=0,x=y$ I want to have all graphed on $1$ plane so I can see the region of ...
1
vote
1answer
52 views

Plot roots of polynomial system of equations in 3 variables

I have the two equations $x^2 + 2y^2 + z^2 = 1$ and $xz -y^2 = 0$ I want to plot the roots in 3D. i.e the coordinates $x,y$ znd $z$
0
votes
1answer
34 views

How to change the radius markers and number of concentric circles in a polar plot?

I'm using PolarPlot to plot a function in [0, 1] in a log scale plot, capped at -40 dB, as in the following example: ...
0
votes
1answer
53 views

How do I apply a conditional append rule to plot randomly chosen points?

I'm working on an attempt at forming a sort of "Mandelbrot" set using Newton's method and randomly chosen points. Effectively I need to define a loop for Newton's method to determine whether my points ...
15
votes
4answers
11k views

Plotting Complex Quantity Functions

Trying to plot with complex quantities seems not to work properly in what I want to accomplish. I would like to know if there is a general rule/way of plotting when you have complex counterparts in ...
49
votes
4answers
3k views

Plot draws list of curves in same color when not using Evaluate

This example comes from the Mathematica documentation for Plot under Basic Examples. Can someone please explain why these are each plotted as a different color in ...
0
votes
1answer
41 views

Dashed 3D plot: dashes run together

When I use the Dashed option in my 3D parametric plot, the dashing looks very muddy and the dashes are running together. For example, I plot the below code, right ...
1
vote
1answer
112 views

Exporting to eps loses font/symbol information?

I have already asked this question, which has helped. However, now my parenthesis are coming out as Courier "H" and "L." How do I work around this? Is there an easier way to save a plot as EPS without ...
1
vote
1answer
52 views

Plotting solutions of systems in complex plane

I'm interested in plotting solutions of systems of polynomials in the complex plane, in the following way. Let $f_1,\ldots f_s$ be complex polynomials in variables $x_1,\ldots x_n$. I know how to ...
-1
votes
0answers
39 views

To Polar Plot one and two variables smoothly

Code for two variable case h[a_, b_] = PolarPlot[(1/2 (1 - Cos[2 a] + 2 Sin[a - b]))^2, {a, 0, Pi}, {b, 0, 1}] but possibly better ...
7
votes
4answers
2k views

How can I manipulate the number of decimal places in the frame ticks?

Is there any simple way to increase or decrease the decimal places in the frame ticks. I want to make the y axis ticks of the first two and the second two graphs look similar.
23
votes
3answers
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
885 views

How to plot vector function r(t) = i + j + t*k

How can I plot the vector function $r(t) = i + j + t\;k$, where i, j, k are unit vectors, and t is the parameter of the function r.
2
votes
3answers
163 views

Tooltip pointer in ParametricPlots

ParametricPlot[{ Cos[u]^v , u}, {v, 0, 1}, {u, 0, Pi/2 }, Mesh -> {5, 5}] ParametricPlot[Tootip[{ Cos[u]^v , u}, {v, 0, 1}], {u, 0, Pi/2 }] How to introduce ...
0
votes
0answers
51 views

Plotting a 4dimensional spherical function In mathematica [duplicate]

Im trying to plot the results of the schroedinger equation for hydrogen in mathematica this is the function I defined: ...