How do you associate data with a secondary Y axis? [message #76933] |
Wed, 13 July 2011 14:02 |
Kim
Messages: 19 Registered: January 2009
|
Junior Member |
|
|
Hello,
I understand how to use the AXIS function in IDL 8.1 to create a
second X or Y axis on a plot, but how do you link the data so that it
corresponds to the second axis? For example, if DATA1 has a range of
0 to 10, but DATA2 has a range from 1,000 to 30,000 and how can you
add the second axis so that each dataset can be properly plotted on
the same figure? I recall that in when using the AXIS procedure, you
could use the /SAVE keyword to set the axis system variable, but I
don't see a similar feature in the AXIS function. It also isn't clear
how you establish the YRANGE using the AXIS function. Any assistance
would be greatly appreciated.
Thank you,
Kim
|
|
|