From graphics-request at octave dot org Sun Nov 21 21:00:29 2004 Subject: Re: OctPlot ver 0.2.0 released From: Rafael Laboissiere To: Shai Ayal Cc: graphics at octave dot org, maintainers@octave.org Date: Sun, 21 Nov 2004 13:57:42 -0600 * Shai Ayal [2004-11-21 21:31]: > >2) Running the demo in README fails with the following error message: > > > > octave:1> setup_octplot > > octave:2> h=plot(sin( (0:10000)/10000*2*pi),"b-"); > > error: `octplot_command' undefined near line 40 column 10 > > error: evaluating assignment expression near line 40, column 8 > > error: evaluating for command near line 39, column 3 > > error: called from `get' in file `/var/tmp/octplot/src/get.m' > > error: evaluating assignment expression near line 22, column 7 > > error: called from `gcf' in file `/var/tmp/octplot/src/gcf.m' > > error: evaluating assignment expression near line 27, column 6 > > error: called from `gca' in file `/var/tmp/octplot/src/gca.m' > > error: evaluating assignment expression near line 112, column 6 > > error: called from `plot' in file `/var/tmp/octplot/src/plot.m' > > error: evaluating assignment expression near line 2, column 2 > > > > The patch attached below fixes the problem. > > this runs ok with my 2.1.57. is this some feature of later releases tahe > end does not work in cells ? I fixed this in cvs since it will do no harm Using end for indexing cells does not work here: $ octave-config --version 2.1.63 $ octave -q octave:1> a={1,2,3}; octave:2> a{end} error: invalid use of end error: evaluating argument list element number 1 If this did work in 2.1.57, then its failing in 2.1.63 is probably unintended. I am Cc:ing this message to octave-maintainers. > Thanks for the contour algorithm. I am kind of hoping that OpenGL will > take care of me for 3D plots and shading. If not, I will turn to PLplot. > > btw, how did you solve the problem of displaying rotated text fot the > axis labels ? The xwin driver of PLplot uses its own Hershey fonts, which are generated by regular plline commands. No X11 fonts are used. -- Rafael