[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minor ticks beyond last xtickv?



Martin Schultz <martin.schultz@dkrz.de> wrote:

>> 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,

>What exactly do you want?

>I tried:
>IDL> plot,findgen(50)/50.*4.,findgen(50)^2,xrange=[0,4.8],$
>IDL> xtickv=[.5,1.,1.5,2,2.5,3,3.5,4.,4.5,5.],xticks=8,xstyle=1,xminor=8  

Your first solution was what I wanted. What I didn't know was that you
could give different numbers of elements to xtickv and xticks. If you look
back at what I wrote, I put in xticks=10 for that example, which forced it
to use all my tick values, instead of xticks=8 which tells it to use only
the first 9 values.

Thanks!
Todd