From bug-octave-request at bevo dot che dot wisc dot edu Thu Mar 11 22:58:08 2004 Subject: 3D plot functions + view design problem From: Volker Kuhlmann To: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 11 Mar 2004 21:09:57 -0600 There's a general design problem with the 3D plot functions. Usually one sets all the graph options (labelling etc) before calling the plot function, but it doesn't work for gset view because mesh() resets it again to the gnuplot default. The only way to set the view is after calling mesh(), and then to call replot. This isn't best design, but ok for screen output. However for eps output, each replot causes an additional page(!) in the postscript output. Therefore, calling replot for eps output is an absolute no-no. I had to modify mesh.m (remove gset view calls) to make it work. Volker Bug report for Octave 2.1.44 configured for i686-pc-linux-gnu uname output: Linux ruru 2.4.20-4GB #1 Sat Feb 7 02:07:16 UTC 2004 i686 unknown unknown GNU/Linux configure opts: '--prefix=/usr' '--exec-prefix=/usr' '--enable-shared' '--libexecdir=/usr/lib' '--libdir=/usr/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-lite-kernel' 'CFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -D_GNU_SOURCE' 'CXXFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -D_GNU_SOURCE' -- Volker Kuhlmann , http://volker.dnsalias.net/ ------------------------------------------------------------- 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 -------------------------------------------------------------