Description of problem: toggle_plplot_use spits out error when used. Version-Release number of selected component (if applicable): octave.i386 6:2.9.7-1.fc5 installed octave-forge.i386 2006.07.09-3.fc5 installed plplot-octave.i386 5.6.1-1.fc5 installed How reproducible: Always. Steps to Reproduce: 1. Start octave, enter octave:1> toggle_plplot_use. 2. If you don't have LOADPATH, it'll complain. So add LOADPATH="/usr/share/plplot_octave//:" in ~/.octaverc. 3. Restart octave and run toggle_plplot_use again. Actual results: octave:1> toggle_plplot_use error: `plplot_stub' undefined near line 43 column 3 error: evaluating if command near line 41, column 1 error: near line 46 of file `/usr/share/octave/site/m/PLplot/toggle_plplot_use.m' octave:1> LOADPATH LOADPATH = /usr/share/plplot_octave//:: octave:2> use_plplot_path use_plplot_path = /usr/share/plplot_octave// Expected results: Looking into the function /usr/share/octave/site/m/PLplot/toggle_plplot_use.m, if everything goes well, it should say: "Use PLplot: on". Additional info:
The LOADPATH variable has been removed from octave as of 2.9.7 in order to be more compatible with MATLAB's path handling functions. The plplot scripts need to be updated to use the new scheme, which includes the functions addpath and rmpath.
This should be fixed with 5.6.1-2