16
$\begingroup$

What is the difference between PlotRange -> Full and PlotRange -> All in a Plot, ListPlot, ContourPlot, etc.? Or in Graphics? Here is what the Documentation page for PlotRange says under the Details section:

PlotRange -> All "all points are included"

PlotRange -> Full "include full range of original data"

The difference is not clear to me. In the examples I tried both options have the same effect.

$\endgroup$
3
  • $\begingroup$ Example where they have different behaviours: Show[ListPlot[{1, 3}], ListPlot[{6, 5}], PlotRange -> All] works, but it no longer if you replace All with Full. $\endgroup$
    – anderstood
    Sep 28 '16 at 16:44
  • $\begingroup$ From the documentation: Use PlotRange->All to include all points. Use PlotRange->Full to include all the points and the original domain. Mathematica Documentation - PlotRange $\endgroup$
    – Andreas
    Sep 28 '16 at 16:55
  • 2
    $\begingroup$ Check this post here, especially this part "I get confused about the difference between All and Full as well. I'm told by the developer of PlotRange that PlotRange->Full uses the PlotRange->All result and then does some clipping." Note, however, that this is for ListLogLinearPlot, not sure if the behavior is the same. $\endgroup$
    – Andreas
    Sep 28 '16 at 17:02
19
$\begingroup$

Straight from the Docs:

Normally, PlotRange -> All shows only the existing points:

Plot3D[Sqrt[1 - x^2 - y^2], {x, -2, 2}, {y, -2, 2}, PlotRange -> All]

enter image description here

PlotRange -> Full specifies that a plot should include the full range of values of input variables:

Plot3D[Sqrt[1 - x^2 - y^2], {x, -2, 2}, {y, -2, 2}, PlotRange -> Full]

enter image description here

$\endgroup$
2
  • $\begingroup$ I have taken the liberty to improve wording of your answer. I hope you don't mind. $\endgroup$ Sep 28 '16 at 18:36
  • $\begingroup$ @AlexeyPopkov, thank you very much! $\endgroup$
    – user9660
    Sep 29 '16 at 5:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.