Functions | |
if (nargin< 2) if(nargin | |
elseif (!isempty(color_rotation)) rgb | |
if (++color_index > num_colors) color_index | |
endif else | error ("__next_line_color__: color_rotation not initialized") |
endif else | print_usage () |
Variables | |
function | rgb |
persistent | num_colors = rows (color_rotation) |
persistent | color_index = 1 |
elseif | ( | ! | isemptycolor_rotation | ) |
if | ( | ++ | color_index, | |
num_colors | ||||
) |
if | ( | ) |
color_index = 1 |
num_colors = rows (color_rotation) |