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;








3












$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]


enter image description here



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]


enter image description here



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



enter image description here



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?










share|improve this question











$endgroup$











  • $begingroup$
    cont is the list from above
    $endgroup$
    – Mike
    9 hours ago

















3












$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]


enter image description here



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]


enter image description here



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



enter image description here



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?










share|improve this question











$endgroup$











  • $begingroup$
    cont is the list from above
    $endgroup$
    – Mike
    9 hours ago













3












3








3





$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]


enter image description here



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]


enter image description here



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



enter image description here



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?










share|improve this question











$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]


enter image description here



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]


enter image description here



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



enter image description here



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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
















  • $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










1 Answer
1






active

oldest

votes


















6












$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]


enter image description here






share|improve this answer











$endgroup$















    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
    );



    );













    draft saved

    draft discarded


















    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









    6












    $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]


    enter image description here






    share|improve this answer











    $endgroup$

















      6












      $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]


      enter image description here






      share|improve this answer











      $endgroup$















        6












        6








        6





        $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]


        enter image description here






        share|improve this answer











        $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]


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 hour ago

























        answered 8 hours ago









        kglrkglr

        204k10 gold badges233 silver badges463 bronze badges




        204k10 gold badges233 silver badges463 bronze badges



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            In Tikz, how to set a node's label alignment to the left?Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideLine up nested tikz enviroments or how to get rid of themVertically align a tikzpicture and forestDrawing tikz line in the margin for multiple pagesLongtable, contained tikz, padding, custom columns, and an alignment issueTikZ: define arrow starting position based on style and format node labelAlign node name in Tikz