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

Home » Public Forums » archive » Re: xwindow question
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: xwindow question [message #16165 is a reply to message #16164] Thu, 01 July 1999 00:00 Go to previous messageGo to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Nando Iavarone wrote:
>
> Hi all,
> I'm using the david fanning's "xwindow" procedure.
> I used it with the keyword "wid" to make other oeparations
> on the display window.
> I need to have the PS output of currently display and not
> of the starting display.
>
> Has anyone just modified the procedure to do that?
>
> Thank you.
>
>

Seems like the author isn't aware of his genius? ;-) Although I
still haven't XWINDOW embedded in all my programs (I know, I should),
it seems to me that you can specify any routine to be executed
upon a "redraw" event, i.e. also when you create a postscript
file. So, if you write a simple procedure like

pro extplot,x,y,_EXTRA=e

; do the plot
plot,x,y,_EXTRA=e

; do something else
xyouts,0.5,0.98,'Grand title',/NORM,align=0.5

return
end

Then you pass 'extplot' instead of 'plot' to xwindow, and you should
be able to create a postscript file as you like.

Hope this helps,
Martin

--

|||||||||||||||\\\\\\\\\\\\\-------------------///////////// //|||||||||||||||
Martin Schultz, DEAS, Harvard University, 29 Oxford St., Pierce 109,
Cambridge, MA 02138 phone (617) 496 8318 fax (617) 495 4551
e-mail mgs@io.harvard.edu web http://www-as/people/staff/mgs/

********* ADDRESS CHANGE : AFTER JULY 15, 1999 ***************

Max-Planck-Institut fuer Meteorologie >>> N E W <<<
Bundesallee 55 >>> N E W <<<
20147 Hamburg >>> N E W <<<
Germany >>> N E W <<<
phone (+49 40) 41173 - 0 >>> N E W <<<

email martin.schultz@dkrz.de >>> N E W <<<
(email to mgs@io.harvard.edu will be forwarded)

************************************************************ *******
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Image tranpose
Next Topic: TV oddities

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

Current Time: Fri Dec 05 07:10:09 PST 2025

Total time taken to generate the page: 0.01471 seconds