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

Home » Public Forums » archive » Re: Length of minor tick marks.
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
Re: Length of minor tick marks. [message #34819] Thu, 24 April 2003 15:01 Go to next message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Luciano" <lucianor@sinectis.com.ar> wrote in message
news:902633c3.0304241138.3479e074@posting.google.com...
> How can I modify the length of minor ticks?
> I mean without changing the length of major ticks (with ticklen)
> Is there a minorticklen or something similar??
>
> thanks.


If you want to shrink your minor ticks, you could try some
overplotting of axis with different lengths.

plot,findgen(10),yticks=9,yticklen=0.3
axis,yaxis=0,yticklen=0.5

OR major and minor the same length, try something like
plot,findgen(10),yticks=9,yticklen=0.3,ytickname=replicate(' ',10)
axis,yaxis=0,yticks=3,yticklen=0.3


etc...

Cheers,
bob
Re: Length of minor tick marks. [message #34824 is a reply to message #34819] Thu, 24 April 2003 12:57 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Luciano (lucianor@sinectis.com.ar) writes:

> How can I modify the length of minor ticks?
> I mean without changing the length of major ticks (with ticklen)
> Is there a minorticklen or something similar??

No, nothing like that. I think minor tick marks
are always some fixed percentage of the length of
major tick marks. (I don't think you can do this
even in object graphics.)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Length of minor tick marks. [message #34903 is a reply to message #34819] Sun, 27 April 2003 12:06 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
R.G. Stockwell wrote:

> "Luciano" <lucianor@sinectis.com.ar> wrote in message
> news:902633c3.0304241138.3479e074@posting.google.com...
>> How can I modify the length of minor ticks?
>> I mean without changing the length of major ticks (with ticklen)
>> Is there a minorticklen or something similar??
>>
>> thanks.
>
>
> If you want to shrink your minor ticks, you could try some
> overplotting of axis with different lengths.
>
> plot,findgen(10),yticks=9,yticklen=0.3
> axis,yaxis=0,yticklen=0.5
>
> OR major and minor the same length, try something like
> plot,findgen(10),yticks=9,yticklen=0.3,ytickname=replicate(' ',10)
> axis,yaxis=0,yticks=3,yticklen=0.3
>
>
> etc...
>
> Cheers,
> bob

Dear Bob

did you know in which system var the length is stored.
At the moment I develop a simple axis routine for minor ticks by value and
name. I would like to use a constant to set the same tick length as the
standard axis routine.


regards

Reimar


--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
Re: Length of minor tick marks. [message #34918 is a reply to message #34824] Thu, 24 April 2003 15:31 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1911ef8badba0b72989b6b@news.frii.com...
> Luciano (lucianor@sinectis.com.ar) writes:
>
>> How can I modify the length of minor ticks?
>> I mean without changing the length of major ticks (with ticklen)
>> Is there a minorticklen or something similar??
>
> No, nothing like that. I think minor tick marks
> are always some fixed percentage of the length of
> major tick marks. (I don't think you can do this
> even in object graphics.)

IDLgrAxis has a SUBTICKLEN property.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: axis minor ticks
Next Topic: how to interrupt in IDL for windows ?

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

Current Time: Wed Oct 08 18:53:31 PDT 2025

Total time taken to generate the page: 0.00485 seconds