comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » No tick at right end of axis
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
No tick at right end of axis [message #10920] Wed, 04 February 1998 00:00
reuss is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Windows IDL failure with multiple call_external s?
Next Topic: inversed Real

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 03:28:51 PDT 2025

Total time taken to generate the page: 1.60197 seconds