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

Home » Public Forums » archive » Re: Suppress Plots
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: Suppress Plots [message #77341 is a reply to message #77340] Mon, 22 August 2011 11:36 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 8/22/11 12:19 PM, Alex Young wrote:
> I have a number of scripts in which I have many calls to the WINDOW
> routine. I would like to find a way to have a "no plot" option
> without having to put an IF statement before each call to WINDOW. I
> tried placing "set_plot, 'NULL' " at the beginning, but this will
> crash whenever it reaches a call to WINDOW. Is there an easy way to
> get around this?
>
> Thanks.
>
> Alex

Yes, make your own window routine, mg_window or whatever that does the
right thing for each type of graphics device. There will still be an IF
statement (or more likely a CASE statement), but it will only be in one
place.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Previous Topic: Suppress Plots
Next Topic: Teaching IDL Courses

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

Current Time: Wed Oct 08 20:03:34 PDT 2025

Total time taken to generate the page: 0.00432 seconds