diff scripts/plot/__plt__.m @ 5117:2d94fe12e09a

[project @ 2005-01-25 18:43:49 by jwe]
author jwe
date Tue, 25 Jan 2005 18:43:50 +0000
parents 67320fb4ae5c
children ecbb290ba9ff
line wrap: on
line diff
--- a/scripts/plot/__plt__.m
+++ b/scripts/plot/__plt__.m
@@ -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))