Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Lining up y axes and sizing plot areas

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109312] Lining up y axes and sizing plot areas
  • From: Garapata <warsaw95826 at mypacks.net>
  • Date: Wed, 21 Apr 2010 04:32:14 -0400 (EDT)

Hi everybody!

I have two ListLinePlots of different time series analysis.  They each
have the same number of data points along the x axis.  I want to show
them one above the other, but have their respective time scales line
up properly, e.g., the first data points lining up  and the last data
points lining up.  To do this the display of the graphs themselves,
exclusive of their y axises need to be the same size.

Another way to say this, the y-axes for both charts should line up
then everything to the right of the axes should be the same width.

Mine don=92t line up because one of my plots has a integer scaled y-axis
(running from 1 to  50) and the other has a decimal scale with 2 or
sometimes 3 positions to the right of the decimal.

I have ListLinePlots, but the following will illustrate the problem:

Column[{Plot[2 Sin[x] + x, {x, 0, 15}, Filling -> Bottom],
Plot[{Sin[x], Sin[2 x], Sin[3 x]}, {x, 0, 2 Pi}]}]

Thanks in advance...


  • Prev by Date: Using Grid or Row to layout controls inside Manipulate conflicting with Delimiter showing up?
  • Next by Date: Re: Finding the extreme function values.
  • Previous by thread: Using Grid or Row to layout controls inside Manipulate conflicting with Delimiter showing up?
  • Next by thread: Re: Lining up y axes and sizing plot areas