Mercurial > hg > octave-lyh
changeset 10567:79410269cd21
print.m: Set figure color property to 'none' when printing.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 24 Apr 2010 19:48:36 -0400 |
parents | 5475da58d39f |
children | 046b713d21dc |
files | scripts/ChangeLog scripts/plot/print.m |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2010-04-24 Ben Abbott <bpabbott@mac.com> + + * plot/print.m: Set figure color property to 'none' when printing. + 2010-04-24 David Bateman <dbateman@free.fr> * plot/__go_draw_axes__.m: Correct fill of diamond markers
--- a/scripts/plot/print.m +++ b/scripts/plot/print.m @@ -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,