From graphics-request at octave dot org Sun Nov 21 13:35:10 2004 Subject: Re: OctPlot ver 0.2.0 released From: Shai Ayal To: Rafael Laboissiere Cc: graphics at octave dot org Date: Sun, 21 Nov 2004 21:31:30 +0200 Thanks Rafael, Rafael Laboissiere wrote: > 1) Compilation fails when including the FLTK header files. It seems that > the FLTK distribution contains only *.H (uppercase "H") files and that > including *.h files is deprecated. This is a quite serious problem, > which would prevent the automatic generation of packages (like with the > Debian build daemons) fixed in the cvs. It works fine for me, so this is probably a gcc issue - I use 3.3.3 > 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 > 3) Zooming does not work properly with subplots. In the following demo: > > octave:1> setup_octplot > octave:2> [b,a]=butter(5,[0.4,0.6],ßtop"); > octave:3> freqz(b,a); > > when a region is selected in the first subplot, the third subplot is > zoomed. Actually this is OK. zoom works for the current axes, and at the end of freqz, these are the last, bottom, axes. To zoom on another axis, issue subplot to make that axes current (i.e. subplot(3,1,1) to make the top axes current). This is the same as in Matlab. There they have a visual indication as to which axes is current which I might add also. > > 4) As a member of the PLplot development team, I am very pleased that > octplot uses the contours algorithm of PLplot. Plplot has very good > algorithms for shading and 3D plots which you might consider using in > octplot. > 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 ?