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

Home » Public Forums » archive » Re: new miracle of minor ticks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: new miracle of minor ticks [message #55619 is a reply to message #55618] Thu, 30 August 2007 05:46 Go to previous messageGo to previous message
lasse is currently offline  lasse
Messages: 48
Registered: February 2007
Member
Hi,

it seems that the xstyle=1 triggers that behaviour. If you do

plot, indgen(11), xticks=5

minor tick mark are there, however do a

plot, indgen(11), xticks=5, /xstyle

they are gone. also, when you combine any other xstyle option with 1,
i.e. xstyle=9.

I noticed this behaviour earlier and thought of it as a feature, not a
bug. I just got used to setting the xminor keyword to whatever is
appropriate.

So long
Lasse

On 29 Aug, 18:09, Reimar Bauer <R.Ba...@fz-juelich.de> wrote:
> Hi
>
> I am back from my journey. And I have had a similiar experience with
> doors as you David had but for the opposite direction. ;)
>
> But lets go to idl. The today most wanted answer is for:
>
> Where are the minor ticks?
>
> Any number of xticks gives no minor xticks.
>
> ; xminor
> ; The number of minor tick mark intervals.
> ; If set to zero, the default, IDL automatically determines the number
> ; of minor ticks in each major tick-mark interval.
> ; Setting this parameter to 1 suppresses the minor ticks, and setting it
> ; to a positive, nonzero number, n, produces
> ; n minor-tick intervals, and n?1 minor-tick marks.
>
> PRO example_bug
> x = findgen(1000)
> y1 = sin(x)
>
> extra_axis={xrange:[300.0,840],yrange:[-1.1,1.1]}
>
> plot, x, y1,$
> xstyle=1, $
> ystyle=1, $
> position=[0.235690,0.285714,0.760943,0.802381], $
> title=title, $
> charsize = 1.18942, $
> xtick_get = xtg, $
> ytick_get = ytg, $
> XTICKS = 2, $
> XMINOR = 0, $
> XTICKV = xtickv, $
> XTICKNAME = xtickname, $
> ytype=0, $
> _extra=extra_axis
>
> END
>
> cheers
> Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to create a string of 1024 spaces?
Next Topic: Ternary diagram

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

Current Time: Sat Oct 11 11:15:20 PDT 2025

Total time taken to generate the page: 0.72024 seconds