Mercurial > hg > octave-nkf
diff scripts/plot/__plt__.m @ 6264:cc2bee854d23
[project @ 2007-02-01 10:00:05 by jwe]
author | jwe |
---|---|
date | Thu, 01 Feb 2007 10:00:05 +0000 |
parents | d60127449a29 |
children | a5cd8b77e892 |
line wrap: on
line diff
--- a/scripts/plot/__plt__.m +++ b/scripts/plot/__plt__.m @@ -49,11 +49,11 @@ if (ischar (next_arg) || iscellstr (next_arg)) if (x_set) - [fmt, key] = __pltopt__ (caller, next_arg); + options = __pltopt__ (caller, next_arg); if (y_set) - __plt2__ (h, x, y, fmt, key); + __plt2__ (h, x, y, options); else - __plt1__ (h, x, fmt, key); + __plt1__ (h, x, options); endif x_set = false; y_set = false; @@ -62,8 +62,8 @@ endif elseif (x_set) if (y_set) - [fmt, key] = __pltopt__ (caller, {""}); - __plt2__ (h, x, y, fmt, key); + options = __pltopt__ (caller, {""}); + __plt2__ (h, x, y, options); x = next_arg; y_set = false; else