MathGroup Archive 2001

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

Search the Archive

Plotting Two Curves With Different Y Axis Scales

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28914] Plotting Two Curves With Different Y Axis Scales
  • From: Roger Jones <rmj at SLAC.Stanford.EDU>
  • Date: Fri, 18 May 2001 01:13:18 -0400 (EDT)
  • Organization: Stanford Linear Accelerator Center
  • Sender: owner-wri-mathgroup at wolfram.com

What is the best way to plot two curves with different Y axis scales?
Such as Sin[x] and 2 Sin[x^2]+Cos[x] for example.

One method is to rescale each individual curve (so that in the we would
then have
Sin[x] and  2/3 Sin[x^2]+Cos[x]/3 as a scaled function) and then write
out
the FrameTicks->{Automatic, {y1 ticks}, None, {y2 ticks}}, where
y1 and y2 are an array of ticks.   Is there a package that does that
does something similar for Mathematica version 4.0?

-Roger Jones




  • Prev by Date: Re: ListPlot vs ListPlot3D
  • Next by Date: Re: Recursion on a list
  • Previous by thread: Re: Mathematica graphics/fonts and Tex
  • Next by thread: Re: Recursion on a list