# HG changeset patch # User jwe # Date 1106678630 0 # Node ID 2d94fe12e09ae964ac359bd3fc630281eeffb30b # Parent 67320fb4ae5caf97b7dbe74d6ccf1839b42b9428 [project @ 2005-01-25 18:43:49 by jwe] diff -r 67320fb4ae5c -r 2d94fe12e09a scripts/ChangeLog --- a/scripts/ChangeLog Tue Jan 25 03:57:01 2005 +0000 +++ b/scripts/ChangeLog Tue Jan 25 18:43:50 2005 +0000 @@ -1,3 +1,7 @@ +2005-01-25 Daniel J Sebald . + + * plot/__plt__.m: Initialize fmt and sep outside of loop. + 2005-01-24 John W. Eaton * plot/__plr__.m, plot/__plr2__.m: Pass name of caller to __plt__. diff -r 67320fb4ae5c -r 2d94fe12e09a scripts/plot/__plt__.m --- a/scripts/plot/__plt__.m Tue Jan 25 03:57:01 2005 +0000 +++ b/scripts/plot/__plt__.m Tue Jan 25 18:43:50 2005 +0000 @@ -37,18 +37,17 @@ y_set = 0; gp_cmd = "gplot"; have_gp_cmd = false; + fmt = ""; + sep = ""; ## Gather arguments, decode format, gather plot strings, and plot lines. while (nargs-- > 0) - fmt = ""; new = varargin{k++}; if (j > 1) sep = ",\\\n"; - else - sep = ""; endif if (isstr (new))