Coyote Graphics Update 30 Jan 2011 [message #74663] |
Sat, 29 January 2011 21:40  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
The Coyote Graphics update for today includes two new programs:
FSC_Window_Set_Defaults and FSC_Window_Get_Defaults:
http://www.idlcoyote.com/programs/coyoteprograms.zip
These programs allow you to configure global properties of
the resizeable FSC_Window programs. Properties can include
background window color, the title of the windows, the
initial size and placement of the windows, ImageMagick
configuration values (i.e., PS_END keywords), details of
how multiple plots should be displayed, window color vectors,
and whether the PostScript output should be encapsulated.
You can also configure PostScript output to use an American or
European style (A4 paper, cm measurements, etc.) interface.
IDL> CTLoad, 5, RGB_TABLE=palette
IDL> FSC_Window_Set_Defaults, PALETTE=palette, $
ERASEIT=1, XSIZE=800, YSIZE=400, XPOS=100, YPOS=200, $
ENCAPSULATED=1, EUROPEAN=1
IDL> TVImage, LoadData(7), /WINDOW, MARGIN=0.1, /WHITE
Global properties can be set (or reset to default
values) at any time to apply to any future FSC_Window
program. I recommend you call FSC_Window_Set_Defaults
from your IDL start-up file to custom configure your
FSC_Window properties.
Individual window properties can still be set with
FSC_WControl, and there are now a greater number of
properties that can be set from this program.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|