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 #55616 is a reply to message #55615] Thu, 30 August 2007 06:07 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Lasse Clausen wrote:
> 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

I dont think its a feature because you got minor ticks if you dont
specify yourself xrange. This sounds more a bug.

cheers
Reimar


>
> 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: Fri Oct 10 09:34:00 PDT 2025

Total time taken to generate the page: 1.36186 seconds