diff scripts/plot/__pltopt1__.m @ 5405:00d369dffec0

[project @ 2005-07-08 01:00:10 by jwe]
author jwe
date Fri, 08 Jul 2005 01:00:10 +0000
parents 8db4eb48f546
children ec8c33dcd1bf
line wrap: on
line diff
--- a/scripts/plot/__pltopt1__.m
+++ b/scripts/plot/__pltopt1__.m
@@ -218,10 +218,10 @@
   elseif (set_steps)
     fmt = strcat (fmt, " ", STEPS);
   elseif (set_yerrbars)
-    if(set_xerrbars)
-        fmt = strcat (fmt, " ", XYERRORBARS);
+    if (set_xerrbars)
+      fmt = strcat (fmt, " ", XYERRORBARS);
     else
-        fmt = strcat (fmt, " ", YERRORBARS);
+      fmt = strcat (fmt, " ", YERRORBARS);
     endif
   elseif (set_xerrbars)
     fmt = strcat (fmt, " ", XERRORBARS);