Mercurial > hg > octave-nkf
diff scripts/plot/gnuplot_drawnow.m @ 8530:c7e49bf03d42
Fix for handling options
author | Daniel J Sebald <daniel.sebald@ieee.org> |
---|---|
date | Fri, 16 Jan 2009 08:31:57 +0100 |
parents | d750feaefa8e |
children | 85c9906abfd1 |
line wrap: on
line diff
--- a/scripts/plot/gnuplot_drawnow.m +++ b/scripts/plot/gnuplot_drawnow.m @@ -200,7 +200,7 @@ ## for terminals cdr/corel term_str = sprintf ("%s %s", term_str, size_str); end - if (nargin > 4 && ischar (opts_str)) + if (nargin > 2 && ischar (opts_str)) ## Options must go last term_str = sprintf ("%s %s", term_str, opts_str); endif