[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: octave under testing: big problem (workaround)



Andreas Goesele <Goesele@hfph.mwn.de> writes:

> But when I use a plot command together with legend, I get the follwing
> warnings and errors:
>
> warning: in graw near line 150, column 3:
> warning: graw is deprecated and will be removed from a future
> warning: version of Octave.
> warning: You should use the higher-level plot functions
> warning: ("plot", "mesh", "semilogx", etc.) instead
> warning: of the low-level plotting commands.
> warning: If you absolutely must use this function, use the
> warning: internal version __gnuplot_raw__ instead.
> error: invalid row index = 0
> error: evaluating argument list element number 1
> error: evaluating argument list element number 1
> error: evaluating prefix operator `!' near line 190, column 7
> error: if: error evaluating conditional expression
> error: evaluating if command near line 190, column 3
> error: called from `legend' in file
> `/usr/share/octave/site/m/octave-forge/plot/legend.m'
>
> The warnings I could live with, but the error is a real problem as it
> means that I can't produce any longer legends with octave.

I found a workaround: I just have to use a second legend command,
immediately after the first one. Then there is no error message and the
legend is added to the plot.

Not ideal, but anyway.

Andreas Gösele

-- 
Omnis enim res, quae dando non deficit, dum habetur et non datur,
nondum habetur, quomodo habenda est.
                                      Augustinus, De doctrina christiana



Reply to: