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: [mg131617] Re: Incorrectly Cropped ListPlot
  • From: Themis Matsoukas <tmatsoukas at me.com>
  • Date: Thu, 12 Sep 2013 02:25:05 -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

To answer my question, if I include the PlotRange in the second graph, then everything works:

graph1 = ListPlot[{Null}, ImageSize -> Medium, 
   PlotRange -> {{0, 200}, {0, 0.1}}, FrameLabel -> {"X", "Y"}];
graph2 = ListPlot[f, Filling -> Axis, Joined -> True, 
   PlotRange -> {{0, 200}, {0, 0.1}}];
Show[graph1, graph2]

However, I was under the impression that options in the first graph in Show are enforced in all subsequent graphs, which is the reason I omitted it in the first place. Apparently this did not work in this case.

tm



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