On 2010-04-27 00:11+0100 Andrew Ross wrote:

> The xwin problem [for the interactive octave examples] is simple - and 
> nothing to do with the p?? examples. Your
> script called figure with a file name set. This doesn't make sense for
> interactive drivers.

Thanks for fixing this.  As a result, -dev xwin is now our best interactive
octave device so I have expanded the number of p examples accordingly
(revision 10941).  p11, p14, p19, and p20 still have some showstopper
issues with -dev xwin so had to be dropped from the list until those issues
are fixed.  Also, p21 produces a blank black page which is also probably an
error (although not a showstopper).

You have only mentioned -dev tk in passing so I thought I had better mention
that your fix to the script still leaves -dev tk crashing immediately for p1
for me.  Here is the resulting error messages.

softw...@raven> make test_octave_tk
[...]
Generate interactive octave results for tk interactive device
Testing interactive octave examples for device tk
/home/software/plplot_svn/HEAD/build_dir/examples/..
p1
error: fp' undefined near line 213 column 11
error: evaluating argument list element number 1
error: evaluating if command near line 207, column 2
error: evaluating if command near line 186, column 7
error: evaluating if command near line 92, column 5
error: evaluating if command near line 86, column 3
error: called from figure' in file
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/../bindings/octave/PLplot/figure.m'
error: evaluating for command near line 6, column 1
make[3]: *** [examples/CMakeFiles/test_octave_tk] Error 1
make[2]: *** [examples/CMakeFiles/test_octave_tk.dir/all] Error 2
make[1]: *** [examples/CMakeFiles/test_octave_tk.dir/rule] Error 2
make: *** [test_octave_tk] Error 2

> I think a lot of the other issues are to do with the interactive aspects.
> Only the xwin and tk drivers support xor mode which is required. I could
> work round this (as example 20 does), but this hides the issue. It would
> be really nice to add this capability to qtwidget and xcairo.

Agreed.  xor capability would be nice for -dev wincairo as well.  Once these
three devices had xor capability, then you could also use the -xor example 1
option for them.  BTW, I haven't looked at the example to see why, but -xor
for example 1 doesn't seem to erase anything for -dev xwin.  Instead, a
circular cursor is moved slowly over the second sub-page, but leaves the
plot looking identical.  Could that example 1 option be made into a more
convincing demonstration of xor capability?

Alan

__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to