Graphics positioning
- To: mathgroup at smc.vnet.net
- Subject: [mg45606] Graphics positioning
- From: "Thomas Manz" <thomasmanz at web.de>
- Date: Fri, 16 Jan 2004 06:05:23 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi!
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
Thomas