Linked Questions

4
votes
2answers
351 views

A particular contour does not show up, even though it is in my list [duplicate]

Consider: f = Sqrt[9 - x^2 - y^2]; ContourPlot[f, {x, -4, 4}, {y, -4, 4}, Contours -> {0, 1, 2, 3}, ContourLabels -> All, ContourShading -> None] ...
2
votes
1answer
1k 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
440 views

Plotting a line segment from the degenerate case of an ellipse [duplicate]

An ellipse degenerates into a line segment when the defining constant distance from the two foci is the actual distance between the two foci. The ellipse closes into a line segment. The following ...
2
votes
0answers
204 views

Plotting equipotentials gone wrong [duplicate]

I'm plotting the equipotential of the potential function: $$\phi(x,y,z):=\frac{1+x^{2}+y^{2}+z^{2}}{[\left(1+x^{2}+y^{2}+z^{2}\right)^{2}-4z^{2}]^{1/2}}$$ Mathematica code: ...
1
vote
0answers
158 views

ContourPlot of implicit function doesn't work when I square the equation [duplicate]

When I try this ...
0
votes
0answers
29 views

Why does Mathematica use a dashed line for a contour line with this specific value? [duplicate]

I am trying to draw the contour lines of the following function, but I don't understand why the contour lines with value 0.5 and -0.5 are shown in dashed lines. $f(x,y)=\dfrac{xy}{x^2+y^2}$ ...
45
votes
5answers
5k views

Is it possible to speed up ContourPlot on multi-core machines?

It is not very difficult to face a function for which ContourPlot works too slow. And it seems natural that this function can be parallelized well. Anyway, naive <...
30
votes
5answers
5k 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 ...
40
votes
2answers
2k views

Specific initial sample points for 3D plots

PlotPoints lets you determine how many sample points you want in each direction, but sometimes I want specific ones. For Plot ...
14
votes
5answers
2k views

What is my problem with MeshFunction?

I want plot the max value in a sine plot. We can use the following code ...
19
votes
1answer
524 views

How can I mend this broken heart?

Try to evaluate the following code: ...
1
vote
4answers
390 views

How to make plot of implicit function?

I try to produce a plot of $$\frac{1}{2}-\left| y\right| =\sqrt{\left(\frac{1}{2}-\left| y\right| \right)^2+(y-\sin (x))^2} $$ through ...
1
vote
2answers
554 views

How can I get an approximate contour plot from a 3D plot?

I have some larger square, Hermitian matrices, M, (dimension 20, say, much more than 4) with 2 independent variables, call them x and y. I can plot the eigenvalues as functions of x and y with: <...
0
votes
1answer
422 views

RegionPlot not working as expected

I was trying to evaluate the following expression: RegionPlot[a > 0 && 2 a + b == 0, {a, -2, 2}, {b, -1.5, 1}, PlotLegends -> "Expressions"] ...
4
votes
1answer
249 views

One Mesh Line does not show up in ContourPlot

Consider: ...

15 30 50 per page