Skip to content
Prev 191199 / 398500 Next

Two lines, two scales, one graph

On Mon, 24-Aug-2009 at 08:00AM -0700, Rick wrote:

            
The idea is that you rescale the second lot of y values to fit into
the same range as the first lot.  

If your first ones range from 0 to 10 and your second ones from 0 to
1000, you do the second line (using the lines() function) by dividing
every value by 100 and I think you will have found how to use axis
with side = 3 to do the axis.  If the zeros don't coincide, you need
to make further adjustments which should become obvious.

HTH