MathGroup Archive 2008

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

Search the Archive

Aligning two PLots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94413] Aligning two PLots
  • From: Nikolaus Rath <Nikolaus at rath.org>
  • Date: Fri, 12 Dec 2008 06:55:30 -0500 (EST)

Hello,

I would like to align two plots horizontally, i.e. the tics on the x
axis should be exactly aligned. Example:

Plot[Sin[x], {x, 0, 3 \[Pi]}]
Plot[5000 Sin[x], {x, 0, 3 \[Pi]}]

in the output, the x axis of the second plot is more to the right than
the x-axis of the first plot (due to the wider labels on the y-axis).

Is there a way to align these two plots exactly?

Note that I do not want to have the two functions overlapping in one
plot, the two graphs should be well separated vertically.


Thanks,


   -Nikolaus

--
 =C2=BBIt is not worth an intelligent man's time to be in the majority.
  By definition, there are already enough people to do that.=C2=AB
                                                         -J.H. Hardy

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


  • Prev by Date: Tooltip[] ListContourPlot[] 6.0 vs. 7.0
  • Next by Date: Sample uniformly from a simplex
  • Previous by thread: Re: Tooltip[] ListContourPlot[] 6.0 vs. 7.0
  • Next by thread: Re: Aligning two PLots