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

Home » Public Forums » archive » Re: Coyote's BIG Idea
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: Coyote's BIG Idea [message #74586 is a reply to message #74517] Tue, 25 January 2011 04:39 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Jan 24, 11:31 am, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> This is friggin' UN-BE-LEAVE-A-BLE!
>
> OK, I have the modified programs ready for you to try out.
> There are LOTS of them, so you need a new Coyote Library
> download.
>
> Here is how it works. FSC_Window can be used pretty
> much like the Window command:
>
>   IDL> FSC_Window
>
> Produces a blank window. If you want to draw something
> in that window, you have to set the /WINDOW keyword on
> any Coyote Graphics routine. This will cause the
> FSC_Window to add or replace the command, as necessary,
> in its command list and display the graphic.
>
>    ; Display a line plot in the window.
>    FSC_Plot, Loaddata(1), /Window
>
>    ; Now display a filled contour plot with overlay and colorbar.
>    LoadCT, 33
>    data = LoadData(2)
>    FSC_Contour, data, /Fill, Position=[0.1,0.1,0.9,0.75], /Window
>    FSC_Contour, LoadData(2), /Overplot, COLOR='gray', /Window
>    FSC_Colorbar, RANGE=[Min(data), Max(data)], /Window
>
>    ; Now display a surface.
>    FSC_Surf, data, /Shaded, /Elevation, /Window
>
> I'm working on a configuration routine so that you can globally
> configure the Coyote Graphics commands to go into normal graphics
> windows or into FSC_Window graphics windows and don't have to set
> the WINDOW keyword every time.
>
> Now create several windows.
>
>    FSC_Window, WTitle='Window 1'
>    FSC_Window, WTitle='Window 2'
>    FSC_Window, WTitle='Window 3'
>
> Gather information about all the FSC windows on the display.
>
>    winIDs = FSC_QueryWin(TITLE=titles, COUNT=count)
>    FOR j=0,count-1 DO Print, winIDs[j], '  ', titles[j]
>
> Select the window entitled "Window 1". You can select on
> window index number, title, widget ID, or object reference.
> Your choice with different keywords.
>
>    FSC_WSet, 'Window 1', /TITLE
>
> Put a plot in this window.
>
>    FSC_Plot, Loaddata(1), /Window
>
> Select another window, put a contour in there.
>
>    FSC_WSet, 'Window 2', /TITLE  
>    FSC_Contour, data, /Fill, Position=[0.1,0.1,0.9,0.75], /Window
>    FSC_Contour, LoadData(2), /Overplot, COLOR='gray', /Window
>    FSC_Colorbar, RANGE=[Min(data), Max(data)], /Window
>
> Select another window, put a surface in there.
>
>    FSC_WSet, 'Window 3', /TITLE  
>    FSC_Surf, data, /Shaded, /Elevation, /Window
>
> All windows resizeable. All windows can make PostScript files.
> All windows can produce fantastic looking raster image output
> if ImageMagick is installed.
>
> UN-FRIGGIN-B-LEAVE-A-BLE!!!
>
> 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.")

Well, I know what I'm going to spend today trying out. :-)=

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to speed up or remove this FOR loop
Next Topic: IDL8.0 Total - keyword dimension not allowed

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

Current Time: Sat Nov 29 01:07:25 PST 2025

Total time taken to generate the page: 1.76802 seconds