Re: increase the number of major tickmarks in plots [message #50116] |
Tue, 12 September 2006 11:23 |
loknath
Messages: 11 Registered: May 2006
|
Junior Member |
|
|
Thanks a lot. It was very helpful
Loknath
David Fanning wrote:
> Loknath writes:
>
>> I am plotting pressure in the y axis and it varies from somewhere
>> around 1005-1009 at the surface to 30-40 mb at the top of the layer I
>> am using. Since I am using logarithmic scale the major tickmarks are
>> 1000 and 100 so the labels I get in the graphs are these values. Fixing
>> the numbe of ticks also does not help. Is there a way to show the
>> values of the minor tickmarks in the plot or is there a way to increase
>> the numbe of major tickmarks without changing the minimum and maximum
>> value range in the plot?
>
> This is a perennial favorite on the top-ten list of requested
> IDL features, but it has never been added. Here is an article
> that describes how I would do this, using Martin Schultz's
> little program, LOGLEVELS.
>
> http://www.dfanning.com/graphics_tips/minorlog.html
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: increase the number of major tickmarks in plots [message #50132 is a reply to message #50116] |
Tue, 12 September 2006 00:29  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Loknath writes:
> I am plotting pressure in the y axis and it varies from somewhere
> around 1005-1009 at the surface to 30-40 mb at the top of the layer I
> am using. Since I am using logarithmic scale the major tickmarks are
> 1000 and 100 so the labels I get in the graphs are these values. Fixing
> the numbe of ticks also does not help. Is there a way to show the
> values of the minor tickmarks in the plot or is there a way to increase
> the numbe of major tickmarks without changing the minimum and maximum
> value range in the plot?
This is a perennial favorite on the top-ten list of requested
IDL features, but it has never been added. Here is an article
that describes how I would do this, using Martin Schultz's
little program, LOGLEVELS.
http://www.dfanning.com/graphics_tips/minorlog.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|