Mercurial > octave-nkf
comparison scripts/plot/__next_line_style__.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | 4516a0c97ced |
children | 84c35a483d1f |
comparison
equal
deleted
inserted
replaced
10548:479536c5bb10 | 10549:95c3e38098bf |
---|---|
34 if (nargin == 1) | 34 if (nargin == 1) |
35 if (ischar (reset) && strncmp (reset, "incr", 4)) | 35 if (ischar (reset) && strncmp (reset, "incr", 4)) |
36 if (isempty (style_rotation)) | 36 if (isempty (style_rotation)) |
37 error ("__next_line_style__: style_rotation not initialized"); | 37 error ("__next_line_style__: style_rotation not initialized"); |
38 elseif (++style_index > num_styles) | 38 elseif (++style_index > num_styles) |
39 style_index = 1; | 39 style_index = 1; |
40 endif | 40 endif |
41 elseif (reset) | 41 elseif (reset) |
42 style_rotation = strsplit (get (gca (), "linestyleorder"), "|"); | 42 style_rotation = strsplit (get (gca (), "linestyleorder"), "|"); |
43 num_styles = length (style_rotation); | 43 num_styles = length (style_rotation); |
44 style_index = 1; | 44 style_index = 1; |