diff scripts/plot/private/__pltopt__.m @ 10575:3eba2cc7cbda

Allow matlab style linestyles in errorbar plots
author David Bateman <dbateman@free.fr>
date Mon, 26 Apr 2010 22:26:17 +0200
parents 95c3e38098bf
children 1479b93ee655
line wrap: on
line diff
--- a/scripts/plot/private/__pltopt__.m
+++ b/scripts/plot/private/__pltopt__.m
@@ -154,6 +154,8 @@
     elseif (strncmp (opt, "~", 1) || strncmp (opt, ">", 1) 
             || strncmp (opt, "#", 1))
       n = 1;
+    else
+      n = 0;
     endif
     options.linestyle = opt(1:n);
     opt(1:n) = [];