Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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

Re: Graphics positioning

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45687] Re: Graphics positioning
  • From: "Thomas Manz" <thomasmanz at web.de>
  • Date: Tue, 20 Jan 2004 05:07:59 -0500 (EST)
  • References: <bu8ic5$aqs$1@smc.vnet.net> <bua1sm$ig5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi!

This seems to be the right way, the scaling is correct. But I only can see
half of the numbers on the left and the bottom side (of "17.5" I only can
see ".5"). Magnifying the graphics shows me more but I have to make it
bigger than my screen to see the whole labels.

And is there a way to remove the labels without removing the ticks?

Thanks,
Thomas


"Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de> schrieb im Newsbeitrag
news:bua1sm$ig5$1 at smc.vnet.net...
> Hi,
>
> p1 = Plot[x^2, {x, 0, 2.5}, PlotRange -> {{-0.01, 2.6}, {0, 7.999}},
>       Frame -> True, DisplayFunction -> Identity];
>
> p2 = Plot[x^3, {x, 0, 2.5}, PlotRange -> {{-0.01, 2.6}, {-0.01, 18}},
>       Frame -> True,
>       FrameTicks -> {None, Automatic}, ImageSize -> 300,
>       DisplayFunction -> Identity];
>
> g1 = FullGraphics[p1];
> g2 = FullGraphics[p2];
> Show[
>  GraphicsArray[{{g2}, {g1}}, GraphicsSpacing -> {0, -0.050}]]
>
> Regards
>   Jens
>
> Thomas Manz wrote:
> >
> > 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
>



  • Prev by Date: Re: Pipes Inside Mathematica?
  • Next by Date: Re: Re: Re: typesetting fractions
  • Previous by thread: Re: Graphics positioning
  • Next by thread: Sort into chain