# HG changeset patch # User David Bateman # Date 1265051994 -3600 # Node ID 144739908eefcfa40596b1f25e29441252773493 # Parent f2d3e71b2001441aa2d798e77ca289cb956c8078 Really remove get_old_gnuplot_color diff -r f2d3e71b2001 -r 144739908eef scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Mon Feb 01 20:19:17 2010 +0100 +++ b/scripts/plot/__go_draw_axes__.m Mon Feb 01 20:19:54 2010 +0100 @@ -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