Length of minor tick marks. [message #34826] |
Thu, 24 April 2003 12:38  |
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 #58850 is a reply to message #34826] |
Fri, 22 February 2008 06:58  |
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  |
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  |
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
|
|
|