Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: How can I superimpose two plots of different range

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30079] Re: How can I superimpose two plots of different range
  • From: "Stephen P Luttrell" <luttrell at signal.dra.hmg.gb>
  • Date: Fri, 27 Jul 2001 03:52:17 -0400 (EDT)
  • Organization: Defence Evaluation & Research Agency
  • References: <9jljsk$832$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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 ??