# HG changeset patch # User Daniel J Sebald # Date 1429398422 18000 # Node ID ce027487af26e83160196a15f4c40c7ee215c426 # Parent 13315376edaa31f0f38d6983f39728220ca36cd0 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. diff -r 13315376edaa -r ce027487af26 scripts/plot/util/private/__go_draw_figure__.m --- a/scripts/plot/util/private/__go_draw_figure__.m Sat Apr 18 14:20:34 2015 -0700 +++ b/scripts/plot/util/private/__go_draw_figure__.m Sat Apr 18 18:07:02 2015 -0500 @@ -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)