Mercurial > hg > octave-lyh
changeset 17444:47269b03a946
__next_line_color__.m: Remove use of CamelCase.
* scripts/plot/private/__next_line_color__.m: Remove use of CamelCase.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 18 Sep 2013 17:11:32 -0700 |
parents | 4a6a4657fdf2 |
children | cf5a8fccfc63 |
files | scripts/plot/private/__next_line_color__.m |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/private/__next_line_color__.m +++ b/scripts/plot/private/__next_line_color__.m @@ -37,17 +37,17 @@ else ## Find and return the next line color ca = gca (); - colorOrder = get (ca, "ColorOrder"); + 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")); - nColors = rows (colorOrder); - color_index = mod (nChildren, nColors) + 1; + n_kids = length (get (ca, "children")); + n_colors = rows (colororder); + color_index = mod (n_kids, n_colors) + 1; endif - rgb = colorOrder(color_index,:); + rgb = colororder(color_index,:); endif endfunction