documentation of "plot" mentions L fmt which doesn't seem to exist
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Apr 14 12:20:53 CDT 2008
On 14-Apr-2008, Kris Thielemans wrote:
| the documentation for plot says:
| -----------------------
| `L'
| Set steps plot style.
| -----------------------
| However, this doesn't seem to work:
|
| octave.exe:49> plot([1,2,3],'L');
| error: plot: properties must appear followed by a value
| error: evaluating if command near line 58, column 6
| error: evaluating if command near line 57, column 4
| error: evaluating if command near line 55, column 2
| error: evaluating if command near line 54, column 7
| error: evaluating while command near line 41, column 5
| error: evaluating if command near line 28, column 3
| error: called from `__plt__' in file `D:\Program
| Files\Octave\share\octave\3.0.0\m\plot\__plt__.m'
| error: evaluating assignment expression near line 187, column 9
| error: called from `plot' in file `D:\Program
| Files\Octave\share\octave\3.0.0\m\plot\plot.m'
|
| As 'L' doesn't exist for matlab either, I presume this is a remainder in the
| documentation of an old Octave option.
|
| Thanks
|
| Kris
|
| PS: I'm running 3.0.0 on Windows using handle-graphics, not gnuplot, but I
| don't think that matters.
I'd consider a patch for the plot documentation to bring it up do date
with the current behavior of the code.
Thanks,
jwe
More information about the Bug-octave
mailing list