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

learn more… | top users | synonyms (12)

2
votes
2answers
221 views

Filling graph between lines and plots

I would like to create a filling delineated by the plots and lines as specified below: ...
0
votes
0answers
47 views

Bincounting multiple data

I have 5number of single column data files and I imported all of them using data = Table[Import["hist501" <> ToString[i] <> ".txt", "List"], {i, 5}]. Now I want to determine the bincount of ...
1
vote
1answer
113 views

Bug with DateListPlot with ToolTip with NumberForm?

Is anyone able to confirm if this is a bug in version 10.1 on Windows 7 Pro? I am attempting to produce a DateListPlot with ...
0
votes
0answers
44 views

How to draw an ellipse [duplicate]

I'm new. I just started learning how to use Mathematica. I'm trying to draw an ellipse given by the implicit equation $y^2 = 1/625\,(330 625-529x^2)$. I cannot figure out how to do it.
8
votes
1answer
105 views

Iterator variable not blocked in ParametricPlot

Bug introduced in 10.0 and persisting through 10.2 or later It appears that perhaps the iterator variable r is not Block-ed ...
0
votes
2answers
81 views

Question RE DiscreteMarkovProcess Graph Labels

I'm trying to label the arc's of my Markov chain with symbols like $\alpha$, $\beta$, etc., to show how the Markov chain looks abstractly. So, I did this... ...
0
votes
2answers
111 views

How to Fill ContourPlot

Given a contour plot such as function = Cos[c] + Cos[a] pltc = ContourPlot[function == 1/2, {a, 0, 4 Pi}, {c, 0, 4 Pi}]; How can I color the regions in which <...
1
vote
1answer
253 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
70 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
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??
4
votes
1answer
279 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 ...
1
vote
1answer
159 views

Problem with using GraphicsColumn

I have three plots defined as: ...
0
votes
0answers
29 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
60 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) (4,0)...
3
votes
2answers
220 views

Vector Plot of a linearly varying cantilever

I want to drawing with Vector Plot a deflection and slope of a linearly varying cantilever. And with Contour Plot it works but with Vector Plot it didn't. Here is the code: ...
1
vote
1answer
83 views

Setting Fixed Axis

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

Customizing X-axis label for groups of 7 (weeks)

I have a set of data organized as a list where each list entry represents a day of the week. The data starts on a Sunday. It represents about 5 months of data. Each element of the list is {date,...
1
vote
2answers
88 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 ...
4
votes
1answer
125 views

Problem with AxesOrigin option in ListPlot

Please compare the output of these two similar codes: ...
1
vote
1answer
180 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 ...
2
votes
5answers
150 views
5
votes
0answers
139 views

Strange artifacts on graphics saved as PDF [closed]

I have a problem when plotting 3D graphs. Plotting any graph with the default settings using Plot3D, e.g. ...
1
vote
0answers
271 views

Draw sample functions from Gaussian Process prior [closed]

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
1answer
279 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 "a"...
11
votes
1answer
188 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 ...
17
votes
0answers
301 views

RegionPlot returning a number

Bug introduced in 10.0 and persisting through 10.4 or later I had updated my mathematica to version 10 few days ago. And I had been shocked by the following fact: ...
5
votes
2answers
656 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$$
12
votes
4answers
501 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 ...
1
vote
1answer
129 views

Different Order of Magnitude on Distinct Interval Plot Axes

I have a function as defined below: 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
57 views

Some problems about ListPlot3D, plot 6 faces of a 3D region [duplicate]

I get the data of six faces of a 3D region. ...
1
vote
1answer
141 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$
1
vote
1answer
157 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
69 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 ...
2
votes
2answers
273 views

random discrete data 3D plot

I get the random discrete data as follows ...
3
votes
1answer
180 views

Right-aligning variable-length rotated tick labels

I have a list of data where each point should have a label. I would like the labels to be below the plot, where tick labels usually are. This is what I have so far: ...
0
votes
1answer
90 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 ...
3
votes
2answers
133 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 ...
2
votes
2answers
166 views

Make a colored ListPlot

Basically I have a set of 3D points, such as {3,4,3} or {4,1,4}. Instead of plotting the points in a 3D space, I want to plot the x,y coordinates of the points on the 2D plane and use the z coordinate ...
2
votes
2answers
201 views
0
votes
1answer
164 views

Improve appearance of ListPointPlot3D with respect to Plot3D

I solve a PDE of which solution is physically a probability density $p$. Due to the algorithm the result is a $n\times m$-matrix which will be plotted by ...
0
votes
0answers
55 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: ...
-1
votes
1answer
347 views

Plot a function of multiple variables, with all but one are fixed

I have a function of multiple variables that I want to plot. The function is a bit complicated as this ...
1
vote
2answers
195 views

How can I project a Torus along the x-axis?

Making a Torus seems simple enough, but how do I project it along the x-axis? For example, I want to rotate this: And make it look like this: Thanks for who can help!
0
votes
1answer
345 views

Plotting curves with different filling styles and gridlines? [duplicate]

Here's a plot of some lines with different styles of filling and one gridline displayed: ...
2
votes
3answers
212 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 ...
3
votes
1answer
275 views

ContourLabels issues

The ContourPlot generated by ...
10
votes
1answer
246 views

Behavior of TimelinePlot with multiple datasets of associations

Bug introduced in 10.1 and fixed in 10.3 The following TimelinePlot behaves as I would expect: ...
0
votes
1answer
139 views
1
vote
0answers
78 views

How to plot three related differential equations in Mathematica? [closed]

Eq1: $ \frac{1}{3\phi}=\left[\frac{x}{x+1}\frac{d^{2}}{dx^{2}}+\frac{2x+1}{(x+1)^{2}}\frac{d}{dx}\right]{\phi^{2}} $ Eq2: $ \frac{b}{(x+1)^{2}}+\frac{{a}^{\prime}}{x+1}+\frac{b-a}{x(x+1)^{2}}=-\...
6
votes
1answer
265 views

How can I subtract one surface from another?

I have one surface for which I have an analytical solution, and another represented by a list of 3D points. My question is: how can I plot the part of one that lies outside the other? The first ...