Mercurial > hg > octave-nkf
changeset 10136:ee18258bc002
Also treat white figure and axes color properties
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 20 Jan 2010 03:09:47 +0100 |
parents | 4516a0c97ced |
children | cf6a01e0e93f |
files | scripts/ChangeLog scripts/plot/__go_draw_figure__.m scripts/plot/plotyy.m |
diffstat | 3 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,9 @@ 2010-01-20 David Bateman <dbateman@free.fr> + * plot/__go_draw_figure__.m: Also plot white foreground and + background colors. + * plot/plotyy.m: Set axes colors to "none". + * plot/__go_draw_axes__.m (next_marker): Remove and all uses of this function. Partially respect the markeredgecolor and markerfacecolor properties.
--- a/scripts/plot/__go_draw_figure__.m +++ b/scripts/plot/__go_draw_figure__.m @@ -70,7 +70,7 @@ fputs (plot_stream, "set origin 0, 0\n"); fputs (plot_stream, "set size 1, 1\n"); bg = get (h, "color"); - if (isnumeric (bg) && !isequal (bg, [1,1,1])) + if (isnumeric (bg)) fprintf (plot_stream, "set obj 1 rectangle from screen 0,0 to screen 1,1 behind fc rgb \"#%02x%02x%02x\"\n", 255 * bg); bg_is_set = true; else @@ -86,7 +86,7 @@ unwind_protect set (kids(i), "units", "normalized"); fg = get (kids(i), "color"); - if (isnumeric (fg) && !isequal (fg, [1,1,1])) + if (isnumeric (fg)) fprintf (plot_stream, "set obj 2 rectangle from graph 0,0 to graph 1,1 behind fc rgb \"#%02x%02x%02x\"\n", 255 * fg); fg_is_set = true; else