2 axis of different type [message #16497] |
Thu, 29 July 1999 00:00 |
Quentin Errera
Messages: 4 Registered: March 1999
|
Junior Member |
|
|
Dear all,
I'm trying to plot the concentration of a atmospheric molecule (xaxis)
vs the pressure (yaxis). The pressure axis should be in log. scale. This
is well done by the command:
PLOT,concentration,pressure,/ylog,yrange=[MAX(pressure),MIN( pressure)] $
,ystyle=9,position=[0.1,0.1,0.9,0.9]
After that, I want add an altitude (in km) axis on the right, in LINEAR
scale. It should be done by:
AXIS,yaxis=1,ylog=0,yrange=[z1,z2],ystyle=1
where z1 (respec. z2) is the altitude corresponding to MAX(pressure)
(respec. MIN(pressure). The result is that the altitude axis is in log.
scale.
If somone could help me,
Thank you,
Cheers,
Quentin.
|
|
|