Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Incorrectly Cropped ListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131615] Re: Incorrectly Cropped ListPlot
  • From: "Kevin J. McCann" <kjm at KevinMcCann.com>
  • Date: Thu, 12 Sep 2013 02:24:25 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <l0p6us$s26$1@smc.vnet.net>

This is a feature of Mathematica plots in that it looks at the 
"interesting" parts. You can override this in graph2, by including the 
option PlotRange->All, and it will fix your problem. The plot is still 
bounded by the PlotRange from graph1, because it was the first in the Show.

Kevin

On 9/11/2013 3:43 AM, Themis Matsoukas wrote:
> In the ListPlot below, the graph is unexpectedly cropped. Do others confirm this? Is there a cure?
>
> I apologize for the long data set (166 points) but this problem does not not normally appear with other data sets.
>
> (v9.01, Mac OS 10.8.4)
>
[snip]
>
> graph1 = ListPlot[{Null},
>     ImageSize -> Medium,
>     PlotRange -> {{0, 200}, {0, 0.1}}, FrameLabel -> {"X", "Y"}];
> graph2 = ListPlot[f, Filling -> Axis, Joined -> True];
> Show[graph1, graph2]
>



  • Prev by Date: Re: DelayedRule assembly
  • Next by Date: Re: question about ndsolve
  • Previous by thread: Re: Incorrectly Cropped ListPlot
  • Next by thread: Re: Incorrectly Cropped ListPlot