Mercurial > hg > octave-lyh
changeset 16959:22ec459cf7ba
Correction to allow multi-line plots to have multiple colors (bug #16955).
author | Carl Osterwisch <costerwisch@generalcompression.com> |
---|---|
date | Thu, 11 Jul 2013 13:55:10 -0400 |
parents | ec6ced0ece87 |
children | 7c575556e817 |
files | scripts/plot/private/__next_line_color__.m scripts/plot/private/__next_line_style__.m |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/private/__next_line_color__.m +++ b/scripts/plot/private/__next_line_color__.m @@ -44,6 +44,7 @@ colorOrder = get (ca, "ColorOrder"); if (reset_colors) color_index = 1; + reset_colors = false; else ## Executed when "hold all" is active nChildren = length (get (ca, "Children"));
--- a/scripts/plot/private/__next_line_style__.m +++ b/scripts/plot/private/__next_line_style__.m @@ -45,6 +45,7 @@ nStyles = length (style_rotation); if (reset_style || (nStyles < 2)) style_index = 1; + reset_style = false; else ## Executed when "hold all" is active nChildren = length (get (ca, "Children"));