Mercurial > hg > octave-lojdl
changeset 10238:144739908eef
Really remove get_old_gnuplot_color
author | David Bateman <dbateman@free.fr> |
---|---|
date | Mon, 01 Feb 2010 20:19:54 +0100 |
parents | f2d3e71b2001 |
children | e45ccac6017f |
files | scripts/plot/__go_draw_axes__.m |
diffstat | 1 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -2472,25 +2472,3 @@ endif endif endfunction - -function typ = get_old_gnuplot_color (color) - if (isequal (color, [0, 0, 0])) - typ = -1; - elseif (isequal (color, [1, 0, 0])) - typ = 1; - elseif (isequal (color, [0, 1, 0])) - typ = 2; - elseif (isequal (color, [0, 0, 1])) - typ = 3; - elseif (isequal (color, [1, 0, 1])) - typ = 4; - elseif (isequal (color, [0, 1, 1])) - typ = 5; - elseif (isequal (color, [1, 1, 1])) - typ = -1; - elseif (isequal (color, [1, 1, 0])) - typ = 7; - else - typ = -1; - endif -endfunction