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 
Return to the default flat view Create a new topic Submit Reply
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
[Message index]
 
Read Message
Read Message
Previous Topic: Nautical Miles to Lat/Lon Degrees
Next Topic: !ORDER=1

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

Current Time: Fri Oct 10 15:00:19 PDT 2025

Total time taken to generate the page: 0.40333 seconds