Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Graphics positioning

  • To: mathgroup at
  • Subject: [mg45606] Graphics positioning
  • From: "Thomas Manz" <thomasmanz at>
  • Date: Fri, 16 Jan 2004 06:05:23 -0500 (EST)
  • Sender: owner-wri-mathgroup at


I'd like to position two plots:

p1 = Plot[
  x^2, {x, 0, 2.5}, 
    PlotRange -> {{-0.01, 2.6}, {0, 7.999}}, Frame -> 
      True, ImageSize -> 300, DisplayFunction -> Identity]

p2 = Plot[x^3, {x, 0, 2.5}, PlotRange -> {{-0.01, 2.6}, {-0.01, 18}}, 
    Frame -> True, ImageSize -> 300, DisplayFunction -> Identity]

Show[GraphicsArray[{{p2}, {p1}}, GraphicsSpacing -> {0, -0.08}]]

My questions:
1. How can I remove just the labels of the upper plot (0   0.5   1  ...) but not the ticks?
2. How can I calculate the GraphicsSpacing to have no distance between the plots? -0.08 does it nearly but it seem to depend on the size of the whole graphics array.
And the most important question:
3. What must I do that the horzontal scaling is exactly the same? In this case the lower plot should be smaller and a little bit shifted to the right.

Thanks for your help!

Best regards

  • Prev by Date: Re: how to delete duplicate items in the same list
  • Next by Date: Re: Wolfram Functions Site
  • Previous by thread: RE: Mathematica for Macintosh questions.
  • Next by thread: Re: Graphics positioning