help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing graphs automatically from Oct1.1.1


From: niles
Subject: Re: printing graphs automatically from Oct1.1.1
Date: Sun, 25 Jun 95 20:39:55 -0400

: It would be nice to check that a plot actually exists, since if replot
: fails, the code will exit with terminal still set to postscript and the
: output redirected, a bad thing.

While you can't check for this directly, you can get around the above
problem by using the un_wind protect function directive.  (Read about
it in the manual) It's a section of code at the end of a routine that
will be run, even if the main section exits, unexpectedly.

        Rick Niles.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]