From bug-request at octave dot org Thu Jan 12 00:46:17 2006 Subject: Re: gnuplot gset From: Petr Mikulik To: bug at octave dot org Date: Wed, 11 Jan 2006 16:12:20 -0600 The current octave documentation http://www.octave.org/doc/Low_002dLevel-plotting-commands.html still lists gset, gplot, ... commands. It does not mention their removal. I propose the following most user-friendly approach: move gset, gplot from a "hardcoded" way into "userspace", thus into gset.m, gplot.m like function gset(bla) global warn_gnuplot_deprecated = 1 if (warn_gnuplot_deprecated) fprintf('gset, gplot, ... are deprecated\n'); warn_gnuplot_deprecated = 0; endif __gnuplot_raw__(bla); endfunction If someone does not like the current warning, he can change the global variable or write a shadow gset.m. Names gset, graw are short and easy to use, and it makes no sense to write them to gnuplot_set or __gnuplot_set__ etc. We could rename them to gpset, gpraw, gpplot, ... -- but what will be the benefit of such a rename? --- PM ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------