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

Home » Public Forums » archive » Filename variable from device?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Filename variable from device? [message #64472] Mon, 05 January 2009 08:45 Go to previous message
dr.paul.woods is currently offline  dr.paul.woods
Messages: 2
Registered: January 2009
Junior Member
In IDL, I wondered if it was possible to store the output filename
used in the DEVICE command as a variable, so that you can print it,
etc.? e.g.:

if keyword_set(ps) then begin
displaycolors=!D.N_colors
set_plot,'ps'
device,filename='output.ps',/color,/cmyk,bits_per_pixel=8
print,"Output written to ",filename
endif
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: creating dynamic array
Next Topic: White background instead of black, when using TV to display images

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

Current Time: Sat Oct 11 03:17:07 PDT 2025

Total time taken to generate the page: 0.87678 seconds