Mercurial > hg > octave-lyh
diff scripts/plot/private/__tight_eps_bbox__.m @ 10913:dd6b90f44ae5
Unify gnuplot printing with the fltk backend.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 27 Aug 2010 06:39:36 -0400 |
parents | 05ba991794d4 |
children | 2c356a35d7f5 |
line wrap: on
line diff
--- a/scripts/plot/private/__tight_eps_bbox__.m +++ b/scripts/plot/private/__tight_eps_bbox__.m @@ -37,7 +37,7 @@ endif ghostscript_options = "-q -dBATCH -dSAFER -dNOPAUSE -dTextAlphaBits=4 -sDEVICE=bbox"; - cmd = sprintf ("\"%s\" %s \"%s\" 2>&1", opts.ghostscript_binary, + cmd = sprintf ("\"%s\" %s \"%s\" 2>&1", opts.ghostscript.binary, ghostscript_options, eps_file_name); [status, output] = system (cmd); @@ -88,7 +88,6 @@ unwind_protect_cleanup fclose (fid); end_unwind_protect - ## FIXME - should strfind() limit the instances as find() does? n = strfind (data, box_string); if (numel (n) > 1) ## Only replace one instance.