octave-maintainers
[Top][All Lists]
Advanced

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

Re: octave gset, graw


From: Volker Kuhlmann
Subject: Re: octave gset, graw
Date: Sat, 25 Feb 2006 17:59:37 +1300

> >    grawcmd='__gnuplot_raw__';
> >    if (~ exist(grawcmd)); grawcmd='graw'; end
> >
> >     eval ([grawcmd '(str)']);

This is silly. The only thing it achieves is backward compatibility with
older octaves, which can easier be done by creating a __gnuplot_graw__.m
containing a graw. So a string replace graw to __gnuplot_raw__ is the
best solution for cases where the use of graw is justified.

> John, would it be possible to issue that warning just the first time that 
> graw() is called?

(And gset, gshow.)

Probably not worth spending a lot of time on, but it might prevent
having to change existing code before it has to be changed again for the
new plotting scheme, if one needs to see the important output in between
the 20th of the same warning.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.



reply via email to

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