MathGroup Archive 2001

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

Search the Archive

Re: How can I superimpose two plots of different range


Show automatically deals with different ranges.

For instance, try this:

p1=Plot[Sin[x],{x,0,2\[Pi]}];
p2=Plot[5 Sin[x],{x,0,2\[Pi]}];
Show[p1,p2];

--
Stephen P Luttrell
QinetiQ, Malvern, U.K.

"Martin Rommel" <Martin_Rommel at REMOVEmac.com> wrote in message
news:<9jljsk$832$1 at smc.vnet.net>...
> If I use Show[] to superimpose two plots the axes are properly aligned
which
> is normally desired. The only way I know to show two curves of different
> Range together is to fake the Range of one curve (i.e. "manually" scale
all
> the values and add "hand-crafted" tick marks). I am sure there is a better
> way for doing this. Somehow I should be able wrap each plot turning it
into
> a graphics object of different "size" and than Show them together. Alas, I
> do not know how.




  • Prev by Date: six-fold integral
  • Next by Date: Re: NDSolve does not let me to stop
  • Previous by thread: How can I superimpose two plots of different range
  • Next by thread: Button Evaluate ??