From bug-request at octave dot org Wed Jan 4 03:00:32 2006 Subject: Re: gnuplot gset From: David Bateman To: Kevin Judd Cc: bug at octave dot org Date: Wed, 04 Jan 2006 09:55:59 +0100 Kevin Judd wrote: > > This not a bug its just misguided. I have used octave instead of > matlab since 1999, but beginning 2004 I've been doing other things. > Now I am back to science and using octave and find my scripts and > functions are producing a lot of silly warnings. The worst of which is > the following. > > warning: gset is deprecated and will be removed from a future > warning: version of Octave. > warning: You should use the higher-level plot functions > warning: ("plot", "mesh", "semilogx", etc.) instead > warning: of the low-level plotting commands. > warning: If you absolutely must use this function, use the > warning: internal version __gnuplot_set__ instead. > > This is idiotic. Did the person that did this actually use > octave/gnuplot? I mean to do serious science requiring publication of > figures in journals and books? Kevin, If the goal is to make octave independent of gnuplot, and have the ability to totally replace gnuplot with something else then gnuplot is not in a priviledged position against any other plotting tool. Also there are compatiability issues, for example what does "gplot" do on matlab? For this reason you'll now find in the CVS that even these warnings are gone and are replaced with a matlab compatiable "gplot" command. > > gnuplot is a powerfully plotting package and gset is the only way into > a lot of that power, like positioning legends, controlling tick marks, > grids, fonts, etc, etc. (Unless octave now has some other undocumented > "high-level" way of doing this.) There is a legend command in octave-forge, which can't be acceptted into octave due its dependency on awk. There is a version of grid in octave and another in octave-forge, octave-forge also has the tics command to control the positioning of the tick marks and finally "print -F" will control the font that is used in the eps files in a similar manner to matlab. I imagine that many of these octave-forge versions will migrate to octave to have a complete interface with octave itself in the near future. With these I don't see that you have lost any functionality, octave has gained a higher level of matlab compatiability and we're able to include other plotting engines in the near future.. I see no disadvanatges, except having to learn a new interface, to these changes.. Regards David -- David Bateman David dot Bateman at motorola dot com Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------- 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 -------------------------------------------------------------