octave-maintainers
[Top][All Lists]
Advanced

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

Re: [changeset] - improve clf() compatibility


From: John W. Eaton
Subject: Re: [changeset] - improve clf() compatibility
Date: Wed, 22 Oct 2008 10:26:11 -0400

On 22-Oct-2008, David Bateman wrote:

| Ok, this is in fact obvious.. refreshdata by default evaluates its 
| arguments in the "base" workspace and in a demo script it needs to do it 
| in the "caller" workspace.. Patch attached and pushed to Savannah..

Thanks.

OK, now I am only seeing failures for the following sequences of
commands:

  demo plotyy
  demo quiver3
  [...]
  quiver3 example 1: failed
  get: invalid handle (= -1.45621)Press <enter> to continue: 
  quiver3 example 2:
   [x, y, z] = peaks (25);
   surf (x, y, z);
   hold on;
   [u, v, w] = surfnorm (x, y, z / 10);
   h = quiver3 (x, y, z, u, v, w);
   set (h, "maxheadsize", 0.33);
   hold off;

  quiver3 example 2: failed
  get: invalid handle (= -1.45621)error: get: invalid handle (= -12.7459)
  error: called from:
  error:   /home/jwe/src/octave/scripts/plot/__go_draw_axes__.m at line 60, 
column 9
  error:   /home/jwe/src/octave/scripts/plot/__go_draw_figure__.m at line 58, 
column 8
  error:   /home/jwe/src/octave/scripts/plot/gnuplot_drawnow.m at line 66, 
column 5

and

  demo scatter3
  demo shading
  [...]
  shading example 1: failed
  axes: expecting argument to be a scalar axes handle

and

  demo stem
  demo stem3
  demo surfnorm
  [...]
  warning: implicit conversion from matrix to real vector
  surfnorm example 1: failed

  Invalid call to any.  Correct usage is:

   -- Built-in Function:  any (X, DIM)


  Additional help for built-in functions and operators is
  available in the on-line version of the manual.  Use the command
  `doc <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 address@hidden
  mailing list.
  error: get: invalid handle (= -9.13597)
  error: called from:
  error:   /home/jwe/src/octave/scripts/plot/__go_draw_axes__.m at line 60, 
column 9
  error:   /home/jwe/src/octave/scripts/plot/__go_draw_figure__.m at line 58, 
column 8
  error:   /home/jwe/src/octave/scripts/plot/gnuplot_drawnow.m at line 66, 
column 5
  error: input: reading user-input failed!
  error:   /home/jwe/src/octave/scripts/testfun/demo.m at line 111, column 7

Oddly,

  demo stem
  demo surfnorm

and

  demo stem3
  demo surfnorm

appear to work correctly.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]