[Q]IDL: AXIS label alignment [message #6385] |
Wed, 19 June 1996 00:00 |
R.Balthazor
Messages: 7 Registered: June 1996
|
Junior Member |
|
|
Hi there,
Can anyone help me with this please?
I am using AXIS to add a secondary y-axis to the right hand side of a
PLOT. I divide the axis into 20 intervals (and hence 21 tick marks).
So, I try
AXIS,YAX=1,YTICKS=20,YTICKV=[<array of 21 values>]
Now, the problem is this. Numberical labels 2-20 are aligned with the
middle of the corresponding tickmark, but labels 1 and 21, at the top
and bottom, are 'squashed' into the plot such that they lie fully within
the bounds of the yaxis and not aligned with the centre of the tickmark.
Something like this:
-|-
| 21.0
|-20.0
|
|-19.0
etc
Does anyone know how to align the top and bottom labels properly and
preserve the inter-label spacing?
Thanks in advance,
Richard.
|
|
|