# HG changeset patch # User Daniel J Sebald # Date 1232091117 -3600 # Node ID c7e49bf03d42004a651108bcf9364f69b8527aac # Parent 774b44619c5c31952cd7920f6e91ab6aebc37803 Fix for handling options diff -r 774b44619c5c -r c7e49bf03d42 scripts/ChangeLog --- a/scripts/ChangeLog Fri Jan 16 08:27:46 2009 +0100 +++ b/scripts/ChangeLog Fri Jan 16 08:31:57 2009 +0100 @@ -1,3 +1,7 @@ +2009-01-16 Daniel J Sebald + + * plot/gnuplot_drawnow.m: Fix for handling options. + 2009-01-16 Daniel J Sebald * plot/legend.m: Fix legend order for both horizontal and diff -r 774b44619c5c -r c7e49bf03d42 scripts/plot/gnuplot_drawnow.m --- a/scripts/plot/gnuplot_drawnow.m Fri Jan 16 08:27:46 2009 +0100 +++ b/scripts/plot/gnuplot_drawnow.m Fri Jan 16 08:31:57 2009 +0100 @@ -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