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

Home » Public Forums » archive » Minor ticks beyond last xtickv?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Minor ticks beyond last xtickv? [message #21750] Fri, 15 September 2000 00:00
mole6e23 is currently offline  mole6e23
Messages: 31
Registered: December 1998
Member
Hi there...

I deal with direct graphics only (sorry!) and I was recently playing with
xtickv to set up some axes in a certain way. The following command with
some fake data shows my problem; it doesn't put minor ticks after the last
tick value, and I'd really like it to. If you just let IDL do your axes,
it will put them there. If you try to use xrange and set a higher xtickv
to try and fake it, it ignores xrange. And I would like to have an exact
range, not up to 5.0 or whatever. Any ideas on how to get those minor
ticks?

;; Needs more ticks!
plot,findgen(50)/50.*4.,findgen(50)^2,xrange=[0,4.8],$
xtickv=[.5,1.,1.5,2,2.5,3,3.5,4.],xticks=8,xstyle=1,xminor=8

;; Ignores xrange in favor of xtickv
plot,findgen(50)/50.*4.,findgen(50)^2,xrange=[0,4.8],$
xtickv=[.5,1.,1.5,2,2.5,3,3.5,4.,4.5,5.],xticks=10,xstyle=1, xminor=8

Todd
[Message index]
 
Read Message
Previous Topic: Maximum ROI within an ROI
Next Topic: Command-line IDL for Emacs on Windows: Callable IDL?

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

Current Time: Fri Oct 10 13:43:52 PDT 2025

Total time taken to generate the page: 7.91962 seconds