# HG changeset patch # User Ben Abbott # Date 1272152916 14400 # Node ID 79410269cd21dfe6714dba5a6f5d25d43a7b09df # Parent 5475da58d39fd1f6117366bcb49c348260b6ae1d print.m: Set figure color property to 'none' when printing. diff -r 5475da58d39f -r 79410269cd21 scripts/ChangeLog --- a/scripts/ChangeLog Sat Apr 24 19:45:59 2010 -0400 +++ b/scripts/ChangeLog Sat Apr 24 19:48:36 2010 -0400 @@ -1,3 +1,7 @@ +2010-04-24 Ben Abbott + + * plot/print.m: Set figure color property to 'none' when printing. + 2010-04-24 David Bateman * plot/__go_draw_axes__.m: Correct fill of diamond markers diff -r 5475da58d39f -r 79410269cd21 scripts/plot/print.m --- a/scripts/plot/print.m Sat Apr 24 19:45:59 2010 -0400 +++ b/scripts/plot/print.m Sat Apr 24 19:48:36 2010 -0400 @@ -586,6 +586,7 @@ p.paperposition = get (gcf, "paperposition"); p.paperpositionmode = get (gcf, "paperpositionmode"); p.paperorientation = get (gcf, "paperorientation"); + p.color = get (gcf, "color"); if (p.papersize(1) > p.papersize(2)) paperorientation = "landscape"; else @@ -637,6 +638,7 @@ unwind_protect set (gcf, "paperunits", "inches"); set (gcf, "units", "pixels"); + set (gcf, "color", "none"); restore_properties = true; if ((! output_for_printer || is_eps_file) && ! doprint) ## If not PDF or PostScript, and the result is not being sent to a printer,