Re: Aligning two PLots
- To: mathgroup at smc.vnet.net
- Subject: [mg94463] Re: Aligning two PLots
- From: "sjoerd.c.devries at gmail.com" <sjoerd.c.devries at gmail.com>
- Date: Sun, 14 Dec 2008 07:36:52 -0500 (EST)
- References: <ghtjf8$ra8$1@smc.vnet.net>
Nikolaus, howto/AlignPlotsWithEachOther in the documentation centre has the information you're looking for. Cheers -- Sjoerd On Dec 12, 1:55 pm, Nikolaus Rath <Nikol... at rath.org> wrote: > 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 major= ity. > 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