Mercurial > hg > octave-nkf
changeset 20303:ce027487af26
Remove extraneous border from background rectangles for gnuplot tk (bug #44871).
* __go_draw_figure__.m (__go_draw_figure__): Add option "fs solid noborder" to
the obj 1 (figure) and obj 2 (axis) rectangle specifications.
author | Daniel J Sebald <daniel.sebald@ieee.org> |
---|---|
date | Sat, 18 Apr 2015 18:07:02 -0500 |
parents | 13315376edaa |
children | 0b83a442ff78 |
files | scripts/plot/util/private/__go_draw_figure__.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__go_draw_figure__.m +++ b/scripts/plot/util/private/__go_draw_figure__.m @@ -38,7 +38,7 @@ fputs (plot_stream, "set size 1, 1\n"); bg = get (h, "color"); 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", round (255 * bg)); + fprintf (plot_stream, "set obj 1 rectangle from screen 0,0 to screen 1,1 behind fc rgb \"#%02x%02x%02x\" fs solid noborder\n", round (255 * bg)); bg_is_set = true; else bg_is_set = false; @@ -140,7 +140,7 @@ set (kids(i), "units", "normalized"); fg = get (kids(i), "color"); if (isnumeric (fg) && strcmp (get (kids(i), "visible"), "on")) - fprintf (plot_stream, "set obj 2 rectangle from graph 0,0 to graph 1,1 behind fc rgb \"#%02x%02x%02x\"\n", round (255 * fg)); + fprintf (plot_stream, "set obj 2 rectangle from graph 0,0 to graph 1,1 behind fc rgb \"#%02x%02x%02x\" fs solid noborder\n", round (255 * fg)); fg_is_set = true; fg_was_set = true; elseif (fg_was_set)