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

Home » Public Forums » archive » What is going on with the minor ticks on log plots?????
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
What is going on with the minor ticks on log plots????? [message #12586] Wed, 26 August 1998 00:00
Joe[2] is currently offline  Joe[2]
Messages: 11
Registered: May 1998
Junior Member
Hi,

I'm running v5.1 under NT and have noticed the following bad
behavior. While using the /XLOG key along with even powers of
10 for XRANGE and XTICKS set to the proper number of decades
and xminor set to zero. I either do or do not get the expected
minor ticks at (2,3,4,5,6,7,8,9). After some experimentation, it
became apparent that the range specified by XRANGE had to
fall wholly within the range from 1.000 to 1.e10.

That is
plot,[1],/nodata,/xlog,xrange=[1,1000],xticks=3,xminor=0
works, but
plot,[1],/nodata,/xlog,xrange=[0.1,100],xticks=3,xminor=0
plot,[1],/nodata,/xlog,xrange=[1.e8,1.e11],xticks=3,xminor=0
do not!

This strikes me as being arbitrary behavior and, therfore,
a BUG in IDL. This may actually be a very old bug going back
several versions of IDL. Does this happen on other platforms?
It also appears on IDL for Digital Unix as far as I know.

Is there a way around this to force the proper minor ticks no
matter the bounds of XRANGE. I have not tested this on YRANGE
but assume there is similar behavior.


Thanks,

JMZ
Re: What is going on with the minor ticks on log plots????? [message #12727 is a reply to message #12586] Wed, 26 August 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Joe (Post.Reply@This.News.Group) writes:

> New topic: Why does IDL v 5.1 nolonger CD to the source directory
> of a .pro file when I double click on it from the explorer, but does if
> I use the IDL:file:open menu to open it? If this is an intentional shift
> in operating standards - I do not like it. I lose track of my postscript
> file output now (ends up in the the IDL Source tree root directory).

Some say toe-mah-toe, some say toe-may-toe.

This is now a configurable behavior from within the preferences
under the General/Files tab. You can change to the directory
in which the file you are opening resides or not. I prefer to
open a file, but stay in my working directory, so this is how
I have mine set up.

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Using map projections to display images
Next Topic: Re: row calculation in a 2D array

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

Current Time: Sat Oct 11 12:32:59 PDT 2025

Total time taken to generate the page: 0.96410 seconds