Stephen Legrand - 2004-04-20

I've been hoping to get plplot to work with octave2.1.57 (Only choices of Octave currently available from octave.org are 2.0.17 and 2.1.57)  My attempts with plplot5.3.0 have been not quite productive (results below) Am I doing something wrong? Or is there a patch to 5.3.0 to make it work.  If not, are there currently publically available releases of both octave and plplot that work together in harmony?

The dubuious results of my labor:

[sup@godel root]$ octave
GNU Octave, version 2.1.57 (i686-pc-linux-gnu).
Copyright (C) 2004 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug-octave@bevo.che.wisc.edu> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

octave:1> LOADPATH="/usr/local/share/plplot_octave//:"
LOADPATH = /usr/local/share/plplot_octave//:
octave:2> x=-pi:0.1:pi
octave:3> plot(x,sin(x))

*** isfield:

- Built-in Function:  isfield (EXPR, NAME)
     Return true if the expression EXPR is a structure and it includes
     an element named NAME.  The first argument must be a structure and
     the second must be a string.

Additional help for built-in functions, operators, and variables
is available in the on-line version of the manual.  Use the command
`help -i <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at http://www.octave.org and via the help-octave@bevo.che.wisc.edu
mailing list.

error: evaluating assignment expression near line 29, column 10
error: called from `struct_contains' in file `/usr/local/share/octave/2.1.57/m/deprecated/struct_contains.m'
error: evaluating prefix operator `!' near line 19, column 25
error: evaluating binary operator `||' near line 19, column 22
error: if: error evaluating conditional expression
error: evaluating if command near line 19, column 3
error: called from `__pl_init' in file `/usr/local/share/plplot_octave/support/__pl_init.m'
error: evaluating assignment expression near line 21, column 8
error: called from `__plt__' in file `/usr/local/share/plplot_octave/support/__plt__.m'
error: called from `plot' in file `/usr/local/share/plplot_octave/plot.m'
octave:3> exit
[sup@godel root]$