Mercurial > octave-nkf
comparison scripts/plot/private/__pltopt__.m @ 10580:1479b93ee655
Respect linestyleorder in errorbar plots
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 28 Apr 2010 00:23:57 +0200 |
parents | 3eba2cc7cbda |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
10579:fd6899b1b00e | 10580:1479b93ee655 |
---|---|
155 || strncmp (opt, "#", 1)) | 155 || strncmp (opt, "#", 1)) |
156 n = 1; | 156 n = 1; |
157 else | 157 else |
158 n = 0; | 158 n = 0; |
159 endif | 159 endif |
160 options.linestyle = opt(1:n); | 160 options.errorstyle = opt(1:n); |
161 opt(1:n) = []; | 161 opt(1:n) = []; |
162 have_linestyle = true; | 162 else |
163 options.errorstyle = "~"; | |
163 endif | 164 endif |
164 | 165 |
165 while (! isempty (opt)) | 166 while (! isempty (opt)) |
166 if (strncmp (opt, "--", 2) || strncmp (opt, "-.", 2)) | 167 if (strncmp (opt, "--", 2) || strncmp (opt, "-.", 2)) |
167 options.linestyle = opt(1:2); | 168 options.linestyle = opt(1:2); |