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

Home » Public Forums » archive » Re: writing to 2 "windows" in idl?
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: writing to 2 "windows" in idl? [message #5633 is a reply to message #5628] Thu, 18 January 1996 00:00 Go to previous messageGo to previous message
jlaw is currently offline  jlaw
Messages: 11
Registered: November 1995
Junior Member
In article 96Jan17130850@revelle.cdc.noaa.gov, cas@revelle.cdc.noaa.gov (Cathy Smith) writes:
>
> Hi- I'd like to write out character strings to a gif imagee and determine
> their lengths (in pixels).
> <snip>
> This works except that I cover up some
> lines on my original plot that I don't want covered. Is there a way to
> write to a "fake" device instead?
>
Does this help?

IDL> plot,cos(indgen(100)/7)
IDL> device,get_write_Mask=smask
IDL> print,smask
255
IDL> device,set_write_mask=0 ; DO NOT WRITE TO ANY GRAPHICS PLANES
IDL> xyouts,50,0,'My string of text',wid=wid
IDL> print,wid
0.131250
IDL> device,set_write_mask=smask ; WRITE TO ALL GRAPHICS PLANES AGAIN..
IDL> xyouts,50,0,'My string of text',wid=wid


You could probably also do this with
device,set_graphics_function=something. Table 3.4 in my online help...

best of luck
f.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wanted double Gaussian fit IDL routine
Next Topic: MPEG creation with IDL

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

Current Time: Tue Dec 02 14:31:20 PST 2025

Total time taken to generate the page: 0.88062 seconds