No tick at right end of axis [message #10920] |
Wed, 04 February 1998 00:00 |
reuss
Messages: 3 Registered: June 1997
|
Junior Member |
|
|
Hello,
I would like to produce a plot with given x range and tickmark values.
However, there should be no tick mark at the right end of the x axis.
The following piece of code
data = INDGEN(63)
!x.style = 1
!x.range = [0,62]
!x.ticks = 20
!x.tickv(0:20) = INDGEN(21)*3
plot,data,data
does this job with IDL 4.0.1 and newer versions:
The X axis extends from 0 to 62, tick marks go from 0 to 60.
However, my code is supposed to run under IDL 3.6.1 as well, and I cannot get
IDL 3.6.1 not to make a tick mark at the right end:
My example code produces an x axis from 0 to 60 only, and the data points with
x > 60 are cut off.
Has this been a well known bug (or feature)?
Any ideas to get around this?
Thanks
Matthias Reuss
|
|
|