MathGroup Archive 2009

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

Search the Archive

Re: Re: Problem with GraphicsColumn

  • To: mathgroup at
  • Subject: [mg100630] Re: [mg100595] Re: Problem with GraphicsColumn
  • From: "David Park" <djmpark at>
  • Date: Wed, 10 Jun 2009 05:31:00 -0400 (EDT)
  • References: <h0i8bk$j4h$> <15964986.1244534449012.JavaMail.root@n11>

Use the ImagePadding option and make it the same in both plots, or at least
the horizontal portion. You will need enough padding on the left to
accommodate the longer y tick values in the top plot and that will leave
extra space on the left in the bottom plot. But that is what is necessary
for alignment of the two plots.

 {Plot[10^4 Sin@x, {x, 0, 10},
   Frame -> True,
   ImagePadding -> {{40, 5}, {30, 10}}],
  Plot[Cos@x, {x, 0, 10},
   Frame -> True,
   ImagePadding -> {{40, 5}, {30, 10}}]}]

David Park
djmpark at  

From: gyzhou at [mailto:gyzhou at] 

Actually, the two figures I drew are the same x-axis range but
different y-axis range like:
GraphicsColumn[{Plot[10^4 Sin@x, {x, 0, 10}, Frame -> True],
  Plot[Cos@x, {x, 0, 10}, Frame -> True]}]
Because of the length of the number of y-axis label in Plot@Sin is
longer than Plot@Cos, the figure moves to right hand side.
If I want to solve this, I have to add some items like the first and
the second cases above. However more problems are encountered.

  • Prev by Date: Re: Looking for a Column,Row, and Grid interactive Lab
  • Next by Date: Re: "Parallelize" and Symbolic computation
  • Previous by thread: Re: Problem with GraphicsColumn
  • Next by thread: Locator as a button