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

Home » Public Forums » archive » 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
Length of minor tick marks. [message #34826] Thu, 24 April 2003 12:38 Go to next message
lucianor is currently offline  lucianor
Messages: 12
Registered: June 2002
Junior Member
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.
Re: Length of minor tick marks. [message #34917 is a reply to message #34826] Thu, 24 April 2003 17:19 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Karl Schultz (kschultz_no_spam@rsinc.com) writes:

> IDLgrAxis has a SUBTICKLEN property.

Well, of course, I should have known that. Aren't
I the one who says you can do *anything* 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 #58850 is a reply to message #34826] Fri, 22 February 2008 06:58 Go to previous message
noahh.schwartz is currently offline  noahh.schwartz
Messages: 10
Registered: February 2008
Junior Member
On 22 fév, 15:34, noahh.schwa...@gmail.com wrote:
> On 22 fév, 12:59, Lasse Clausen <la...@lbnc.de> wrote:
>
>
>
>> On 22 Feb, 11:47, noahh.schwa...@gmail.com wrote:
>
>>> Hi !
>
>>> I would like to modify the length of the minor tick marks in my IDL
>>> plot. For Major tick marks there is the "ticklen" keyword. Is there a
>>> "minorTicklen" keyword? How could I obtain a minorTicklen=1.0 (i.e.
>>> minor tick mark for one side to the other on my plot, similar to
>>> ticklen=1.0) on my plot, especially in log scale.
>
>>> Thanks for your consideration.
>>> Noah
>
>> Hi,
>
>> as I understand it it doesn't really matter for you whether it is a
>> minor or mayor tick mark as long as there is a line across the plot
>> window? If so, you can use the (x|y|z)tickv keyword to tell IDL where
>> to draw mayor tick marks and then set (x|y|z)ticklen to 1.0.
>
>> Cheers
>> Lasse Clausen
>
> Hi,
> Thank you for your answer. This is true, it doesn't really matter
> whether it is a minor or major tick mark as long as it is a line
> across the plot.
> But I still want to have the major tick marks values written on the
> side of the axis an not the minor tick marks. It's way too crowded
> when both are present...
> Would you have any ideas on how to show only the major ticks marks
> values keeping the lines across the plot window for both minor and
> major tick marks.
> Thanks for your consideration.
> Noah


Never mind... Did it with the tickFormat='(A1)' for the plot and
adding the "AXIS" procedure:
plot, [.....], XtickFormat='(A1)', YtickFormat='(A1)'
Axis, xAxis=0, xStyle=1, xr = xr, /save

cheers,
Noah
Re: Length of minor tick marks [message #58851 is a reply to message #34826] Fri, 22 February 2008 06:34 Go to previous message
noahh.schwartz is currently offline  noahh.schwartz
Messages: 10
Registered: February 2008
Junior Member
On 22 fév, 12:59, Lasse Clausen <la...@lbnc.de> wrote:
> On 22 Feb, 11:47, noahh.schwa...@gmail.com wrote:
>
>> Hi !
>
>> I would like to modify the length of the minor tick marks in my IDL
>> plot. For Major tick marks there is the "ticklen" keyword. Is there a
>> "minorTicklen" keyword? How could I obtain a minorTicklen=1.0 (i.e.
>> minor tick mark for one side to the other on my plot, similar to
>> ticklen=1.0) on my plot, especially in log scale.
>
>> Thanks for your consideration.
>> Noah
>
> Hi,
>
> as I understand it it doesn't really matter for you whether it is a
> minor or mayor tick mark as long as there is a line across the plot
> window? If so, you can use the (x|y|z)tickv keyword to tell IDL where
> to draw mayor tick marks and then set (x|y|z)ticklen to 1.0.
>
> Cheers
> Lasse Clausen

Hi,
Thank you for your answer. This is true, it doesn't really matter
whether it is a minor or major tick mark as long as it is a line
across the plot.
But I still want to have the major tick marks values written on the
side of the axis an not the minor tick marks. It's way too crowded
when both are present...
Would you have any ideas on how to show only the major ticks marks
values keeping the lines across the plot window for both minor and
major tick marks.
Thanks for your consideration.
Noah
Re: Length of minor tick marks [message #58857 is a reply to message #34826] Fri, 22 February 2008 03:59 Go to previous message
lasse is currently offline  lasse
Messages: 48
Registered: February 2007
Member
On 22 Feb, 11:47, noahh.schwa...@gmail.com wrote:
> Hi !
>
> I would like to modify the length of the minor tick marks in my IDL
> plot. For Major tick marks there is the "ticklen" keyword. Is there a
> "minorTicklen" keyword? How could I obtain a minorTicklen=1.0 (i.e.
> minor tick mark for one side to the other on my plot, similar to
> ticklen=1.0) on my plot, especially in log scale.
>
> Thanks for your consideration.
> Noah

Hi,

as I understand it it doesn't really matter for you whether it is a
minor or mayor tick mark as long as there is a line across the plot
window? If so, you can use the (x|y|z)tickv keyword to tell IDL where
to draw mayor tick marks and then set (x|y|z)ticklen to 1.0.

Cheers
Lasse Clausen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Configuring XPrinter
Next Topic: Re: Inverse Map Projection Help

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

Current Time: Wed Oct 08 18:38:22 PDT 2025

Total time taken to generate the page: 0.00768 seconds