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

Home » Public Forums » archive » Re: !ORDER=1
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: !ORDER=1 [message #17104] Sat, 11 September 1999 00:00
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Ivan Zimine <ivan.zimine@physics.unige.ch> wrote in message
news:37DA5962.37CA7421@physics.unige.ch...
> I don't know if this is of major concern and how many
> people use !order=1 by default, but it takes only 3 lines
> to make such progs independent of !order.

I also don't know how many people use !order=1 by default. However I recall
that if your are running ENVI from the IDL command line, when you exit ENVI
!order is set to one (can anyone confirm?). Perhaps !order=1 is the default
in ENVI.

I know I've had fervent theological discussions with colleagues who use ENVI
to display the same airborne imagery I display in my SHARP application. They
are insistent that my images are "the wrong way around". However I've held
firm to my belief that the natural order of things is to display images from
the bottom up (!order=0).

Maybe it has something to do with my childhood in in the southern
hemisphere.

Cheers,
Liam.
Re: !ORDER=1 [message #17105 is a reply to message #17104] Sat, 11 September 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Ivan Zimine (ivan.zimine@physics.unige.ch) writes:

> In fact this concerns any program which uses Tv/TvScl.
>
> For example David's COLORBAR with VERTICAL keyword
> and when !order=1 will display current colorbar which will
> be inverted relatively to the displayed color indexes.
>
> I don't know if this is of major concern and how many
> people use !order=1 by default, but it takes only 3 lines
> to make such progs independent of !order.
>
> pro whatever, ....
>
> this Order=!order
> !order=0
> .
> .
> .
> !order=thisOrder
> end

Yes, and while you're at it save and restore the
current graphics window, the current device, the current
color table and all the system variables, too.

I'm not saying I disagree with you--what you offer
here is important--but what I am saying that it is
an *awful* lot of work to do this *all*
the time. No one I know (including me) would
really bother. That is, we wouldn't bother until
people complained. Then we might actually put those
damn three lines in a future update. :-)

Cheers,

David

P.S. I have noticed that I have been saving and restoring
the current graphics window more and more in my programs
because people just are not in the habit of knowing what
window they are drawing graphics into. Half the people
who use my XColors program would see their contour plot
in the little window that normally shows the color table
if I didn't. :-(

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Nautical Miles to Lat/Lon Degrees
Next Topic: !ORDER=1

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

Current Time: Wed Dec 03 11:01:53 PST 2025

Total time taken to generate the page: 1.04715 seconds