Missing Contours in ContourPlotCustom contour labels in ContourPlotProblem with extracting specific contour from a ContourPlotMathematica 8: ContourPlot finding out max and min function valuesContourPlot Legend with colorbar for arbitrary contour valuesContourPlot - unequal contour spacingContourPlot giving all (most) contours the same shadingCustom labeling of contours in ContourplotFinding optimal points in contours produced by ListContourPlotHow can I force the z-scale of a ContourPlot to plot between (0, 1) if the data is < 1.How to extract a line from a ContourPlot with a condition
Does Google Maps take into account hills/inclines for route times?
nginx serves wrong domain site. It doenst shows default site if no configuration applies
Missing Contours in ContourPlot
Would letting a multiclass character rebuild their character to be single-classed be game-breaking?
Why did my rum cake turn black?
Find the wrong number in the given series: 6, 12, 21, 36, 56, 81?
Is `curl something | sudo bash -` a reasonably safe installation method?
Rearranging the formula
Fix /dev/sdb after using dd with no device inserted
Did any of the founding fathers anticipate Lysander Spooner's criticism of the constitution?
How to convert 1k to 1000 and 1m to 1000000 in Excel
What would be the ideal melee weapon made of "Phase Metal"?
Dropping outliers based on "2.5 times the RMSE"
When did the Roman Empire fall according to contemporaries?
Why limit to revolvers?
A "Simple" Task
How do Windows version numbers work?
The monorail explodes before I can get on it
How can I deal with a player trying to insert real-world mythology into my homebrew setting?
How does one stock fund's charge of 1% more in operating expenses than another fund lower expected returns by 10%?
Are local nested functions possible in elisp?
As a DM, how to avoid unconscious metagaming when dealing with a high AC character?
How can I legally visit the United States Minor Outlying Islands in the Pacific?
Help with understanding nuances of extremely popular Kyoto-ben (?) tweet
Missing Contours in ContourPlot
Custom contour labels in ContourPlotProblem with extracting specific contour from a ContourPlotMathematica 8: ContourPlot finding out max and min function valuesContourPlot Legend with colorbar for arbitrary contour valuesContourPlot - unequal contour spacingContourPlot giving all (most) contours the same shadingCustom labeling of contours in ContourplotFinding optimal points in contours produced by ListContourPlotHow can I force the z-scale of a ContourPlot to plot between (0, 1) if the data is < 1.How to extract a line from a ContourPlot with a condition
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
I have the following function:
[Phi]re[x_, y_] := With[z = x + I y, -Re[
z - 1 - ProductLog[Ceiling[(y - [Pi])/(2 [Pi])], Exp[z - 1]]]]
Also I have calculated the following Contours list to it:
cont=6.00247, 5.759, 5.51552, 5.27204, 5.02857, 4.78509, 4.54161,
4.29814, 4.05466, 3.81118, 3.56771, 3.32423, 3.08075, 2.83728,
2.5938, 2.35032, 2.10685, 1.86337, 1.61989, 1.37642, 1.18064,
0.937161, 0.693684, 0.450208, 0.206731, -0.0367459, -0.280223,
-0.523699, -0.767176, -1.01065, -1.25413, -1.49761, -1.74108,
-1.98456, -2.22804, -2.47151, -2.71499
Now if I use ContourPlot, the highest value, that is still plotted is dependent of the overall PlotRanges, as you can see here with the following plot the maximum contour line is at ~0.69:
contplot = ContourPlot[[Phi]re[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic]

in the next case I have a maximum contour line of ~1.86:
contplot = ContourPlot[[Phi]re[x, z], x, -5, 15, z, -7, 7,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic]

and finally in the third case, with the smallest PlotRange I have all contours of my contours list plotted with:

Why are the amount of Contour Lines depending of the overall PlotRange, even if I have a well defined List of desired Contour-Values?
And furthermore how can I bypass this behavior, to get all Contour Values possible of my Contour List?
plotting
$endgroup$
add a comment |
$begingroup$
I have the following function:
[Phi]re[x_, y_] := With[z = x + I y, -Re[
z - 1 - ProductLog[Ceiling[(y - [Pi])/(2 [Pi])], Exp[z - 1]]]]
Also I have calculated the following Contours list to it:
cont=6.00247, 5.759, 5.51552, 5.27204, 5.02857, 4.78509, 4.54161,
4.29814, 4.05466, 3.81118, 3.56771, 3.32423, 3.08075, 2.83728,
2.5938, 2.35032, 2.10685, 1.86337, 1.61989, 1.37642, 1.18064,
0.937161, 0.693684, 0.450208, 0.206731, -0.0367459, -0.280223,
-0.523699, -0.767176, -1.01065, -1.25413, -1.49761, -1.74108,
-1.98456, -2.22804, -2.47151, -2.71499
Now if I use ContourPlot, the highest value, that is still plotted is dependent of the overall PlotRanges, as you can see here with the following plot the maximum contour line is at ~0.69:
contplot = ContourPlot[[Phi]re[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic]

in the next case I have a maximum contour line of ~1.86:
contplot = ContourPlot[[Phi]re[x, z], x, -5, 15, z, -7, 7,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic]

and finally in the third case, with the smallest PlotRange I have all contours of my contours list plotted with:

Why are the amount of Contour Lines depending of the overall PlotRange, even if I have a well defined List of desired Contour-Values?
And furthermore how can I bypass this behavior, to get all Contour Values possible of my Contour List?
plotting
$endgroup$
$begingroup$
cont is the list from above
$endgroup$
– Mike
9 hours ago
add a comment |
$begingroup$
I have the following function:
[Phi]re[x_, y_] := With[z = x + I y, -Re[
z - 1 - ProductLog[Ceiling[(y - [Pi])/(2 [Pi])], Exp[z - 1]]]]
Also I have calculated the following Contours list to it:
cont=6.00247, 5.759, 5.51552, 5.27204, 5.02857, 4.78509, 4.54161,
4.29814, 4.05466, 3.81118, 3.56771, 3.32423, 3.08075, 2.83728,
2.5938, 2.35032, 2.10685, 1.86337, 1.61989, 1.37642, 1.18064,
0.937161, 0.693684, 0.450208, 0.206731, -0.0367459, -0.280223,
-0.523699, -0.767176, -1.01065, -1.25413, -1.49761, -1.74108,
-1.98456, -2.22804, -2.47151, -2.71499
Now if I use ContourPlot, the highest value, that is still plotted is dependent of the overall PlotRanges, as you can see here with the following plot the maximum contour line is at ~0.69:
contplot = ContourPlot[[Phi]re[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic]

in the next case I have a maximum contour line of ~1.86:
contplot = ContourPlot[[Phi]re[x, z], x, -5, 15, z, -7, 7,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic]

and finally in the third case, with the smallest PlotRange I have all contours of my contours list plotted with:

Why are the amount of Contour Lines depending of the overall PlotRange, even if I have a well defined List of desired Contour-Values?
And furthermore how can I bypass this behavior, to get all Contour Values possible of my Contour List?
plotting
$endgroup$
I have the following function:
[Phi]re[x_, y_] := With[z = x + I y, -Re[
z - 1 - ProductLog[Ceiling[(y - [Pi])/(2 [Pi])], Exp[z - 1]]]]
Also I have calculated the following Contours list to it:
cont=6.00247, 5.759, 5.51552, 5.27204, 5.02857, 4.78509, 4.54161,
4.29814, 4.05466, 3.81118, 3.56771, 3.32423, 3.08075, 2.83728,
2.5938, 2.35032, 2.10685, 1.86337, 1.61989, 1.37642, 1.18064,
0.937161, 0.693684, 0.450208, 0.206731, -0.0367459, -0.280223,
-0.523699, -0.767176, -1.01065, -1.25413, -1.49761, -1.74108,
-1.98456, -2.22804, -2.47151, -2.71499
Now if I use ContourPlot, the highest value, that is still plotted is dependent of the overall PlotRanges, as you can see here with the following plot the maximum contour line is at ~0.69:
contplot = ContourPlot[[Phi]re[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic]

in the next case I have a maximum contour line of ~1.86:
contplot = ContourPlot[[Phi]re[x, z], x, -5, 15, z, -7, 7,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic]

and finally in the third case, with the smallest PlotRange I have all contours of my contours list plotted with:

Why are the amount of Contour Lines depending of the overall PlotRange, even if I have a well defined List of desired Contour-Values?
And furthermore how can I bypass this behavior, to get all Contour Values possible of my Contour List?
plotting
plotting
edited 9 hours ago
Mike
asked 9 hours ago
MikeMike
876 bronze badges
876 bronze badges
$begingroup$
cont is the list from above
$endgroup$
– Mike
9 hours ago
add a comment |
$begingroup$
cont is the list from above
$endgroup$
– Mike
9 hours ago
$begingroup$
cont is the list from above
$endgroup$
– Mike
9 hours ago
$begingroup$
cont is the list from above
$endgroup$
– Mike
9 hours ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Add the option PlotRange -> All or PlotRange -> Full:
ContourPlot[ϕre[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic,
PlotRange -> All]

$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f202026%2fmissing-contours-in-contourplot%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Add the option PlotRange -> All or PlotRange -> Full:
ContourPlot[ϕre[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic,
PlotRange -> All]

$endgroup$
add a comment |
$begingroup$
Add the option PlotRange -> All or PlotRange -> Full:
ContourPlot[ϕre[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic,
PlotRange -> All]

$endgroup$
add a comment |
$begingroup$
Add the option PlotRange -> All or PlotRange -> Full:
ContourPlot[ϕre[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic,
PlotRange -> All]

$endgroup$
Add the option PlotRange -> All or PlotRange -> Full:
ContourPlot[ϕre[x, z], x, -5, 20, z, -9, 9,
ContourShading -> False, Contours -> cont, AspectRatio -> Automatic,
PlotRange -> All]

edited 1 hour ago
answered 8 hours ago
kglrkglr
204k10 gold badges233 silver badges463 bronze badges
204k10 gold badges233 silver badges463 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Mathematica Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f202026%2fmissing-contours-in-contourplot%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
cont is the list from above
$endgroup$
– Mike
9 hours ago