comparison scripts/plot/ishold.m @ 8190:73d6b71788c0

use case-insensitive comparison for graphics properties; misc style fixes
author John W. Eaton <jwe@octave.org>
date Mon, 06 Oct 2008 21:06:05 -0400
parents a1dbe9d80eee
children eb63fbe60fab
comparison
equal deleted inserted replaced
8189:8e8afefe9466 8190:73d6b71788c0
23 ## @end deftypefn 23 ## @end deftypefn
24 24
25 function retval = ishold () 25 function retval = ishold ()
26 26
27 if (nargin == 0) 27 if (nargin == 0)
28 retval = strcmp (get (gca (), "nextplot"), "add"); 28 retval = strcmpi (get (gca (), "nextplot"), "add");
29 else 29 else
30 print_usage (); 30 print_usage ();
31 endif 31 endif
32 32
33 endfunction 33 endfunction