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

Home » Public Forums » archive » Good-bye Window Command
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
Good-bye Window Command [message #73647] Mon, 15 November 2010 10:02
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Between paying bills this morning and checking my e-mail
I realized I had forgotten one very important addition to
my new suite of graphics programs: a wrapper for the
WINDOW command.

A new program, FSC_DISPLAY, can be used to open a graphics
window in IDL graphics programs that are meant to work
identically on the display and in PostScript. Normally,
in such programs you have to "protect" the Window command:

IF (!D.Flags AND 256) NE 0 THEN Window, 3, XSIZE=400, YSIZE=400

Now, you can just call FSC_DISPLAY:

FSC_Display, 3, 400, 400, Color='gray'

Windows are automatically protected.

You can find the program here:

http://www.dfanning.com/programs/fsc_display.pro

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Good-bye Plot, Surface, Contour, TV and all the rest!
Next Topic: Stop program in IDL 6.2

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

Current Time: Wed Oct 08 18:55:35 PDT 2025

Total time taken to generate the page: 0.00551 seconds