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

Home » Public Forums » archive » Re: cgwindow and output file name
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: cgwindow and output file name [message #80769] Wed, 11 July 2012 08:33 Go to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den onsdagen den 11:e juli 2012 kl. 15:43:55 UTC+2 skrev David Fanning:
> Mats Löfdahl writes:
>
> > When you use the "Save Window As" functionality in a
> > cgwindow, the default file name is cgwindow.EXT in
> > the current directory, where EXT depends on the format you want.
> >
> > If you want another file name you can seklect an
> > existing file name or type in a new name in the popup
> > dialogue. This becomes a bit tedious (and error prone)
> > if you have to do it a lot. I've been looking for a
> > way to specify the file name when creating the window >
> > but I can't find anything.
> >
> > Is there a way to do it?
>
> There are not too many things you can do when
> you are working with an interactive program. I
> could, of course, give you a place to write the
> filename you want, but that is nearly as tedious
> as, well, writing it the way you are doing it now. :-)
>
> Still, you do have this control already, because
> it is possible to ask cgWindow to output the
> contents of the window independently of the window. And,
> of course, you can specify the name of the output
> file when you do so:
>
> cgControl, OUTPUT='whateveryoulike.png'

The changes you did to cgcmdwindow__define.pro (your later posts) are probably useful too, but cgcontrol solved my problem. Thanks so much!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: density color schemes in IDL8 scatterplots
Next Topic: Re: include COI on wavelet plots using toolkit

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

Current Time: Fri Oct 10 02:47:01 PDT 2025

Total time taken to generate the page: 3.84018 seconds