MathGroup Archive 2002

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

Search the Archive

Re: Bad Alignment of Y Axes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37271] Re: [mg37250] Bad Alignment of Y Axes
  • From: "German BUITRAGO A." <gerbual at col2.telecom.com.co>
  • Date: Mon, 21 Oct 2002 02:29:43 -0400 (EDT)
  • References: <200210180917.FAA26102@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Max:

Your problem is due to the necessary space to the left of the y-axis to
locate the ticks. Try, for example, eliminating the y-ticks:

Plot[Sin[x], {x, 0, 10}, Ticks -> {Automatic, None}];

Plot[1000Sin[x], {x, 0, 10}, Ticks -> {Automatic, None}];

With an additional space in the x-range, it is possible to accommodate the
y-ticks for both graphs keeping the alignment.

Plot[Sin[x], {x, 0, 10}, PlotRange -> {{-1.5, 10}, Automatic}];

Plot[1000Sin[x], {x, 0, 10}, PlotRange -> {{-1.5, 10}, Automatic}];

Greetings

Germán Buitrago A.


----- Original Message -----
From: "Max Ulbrich" <ulbrich at biochem.mpg.de>
To: mathgroup at smc.vnet.net
Subject: [mg37271] [mg37250] Bad Alignment of Y Axes


> Hi,
>
> I have 2 or more separate Plots which have different y but the same x
> axes.
> Like:
>
> Plot[Sin[x],{x,0,10}];
> Plot[1000Sin[x],{x,0,10}];
>
>
> At the display and printout, the y axes are not aligned. Even using the
> PlotRegion and ImageSize Options doesn't help. The only way I found
> was to align it manually with the mouse.
> Is there a package that solves the problem?
> The problem is, I have many, many plots to align...
> I use Mathematica 4.0.2.0 on a Windows 2000 PC.
> Who can help?
>
> Max
>
> Answers please to:
>
> ulbrich at biochem.mpg.de
>
>



  • Prev by Date: Raising Contour Plot Graphics to 3D
  • Next by Date: Re: Get rid of unwanted {}
  • Previous by thread: Bad Alignment of Y Axes
  • Next by thread: Re: Bad Alignment of Y Axes