Mercurial > hg > octave-lyh
diff scripts/plot/__gnuplot_print__.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | 8ac9687dbe9f |
children | d5bd2766c640 |
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_print__.m +++ b/scripts/plot/__gnuplot_print__.m @@ -115,7 +115,7 @@ opts.ghostscript.output = opts.name; opts.ghostscript.source = strcat (tmpnam (), ".eps"); eps_drawnow (opts, opts.ghostscript.source, gp_opts); - [cmd_gs, cmd_cleanup] = __ghostscript__ (opts.ghostscript); + [cmd_gs, cmd_cleanup] = __ghostscript__ (opts.ghostscript); if (opts.send_to_printer || isempty (opts.name)) cmd_lpr = opts.lpr_cmd (opts); cmd = sprintf ("%s | %s", cmd_gs, cmd_lpr); @@ -151,7 +151,7 @@ endif [status, output] = system (pipeline{n}); if (status) - fprintf ("%s\n%s\n%s\n", + fprintf ("%s\n%s\n%s\n", "---------- output begin ----------", output, "----------- output end -----------"); @@ -204,7 +204,7 @@ f = sprintf ("%d", opts.fontsize); endif case {"eps", "eps2", "epsc", "epsc2"} - ## Gnuplot renders fonts as half their specification, which + ## Gnuplot renders fonts as half their specification, which ## results in a tight spacing for the axes-labels and tick-labels. ## Compensate for the half scale. This will produce the proper ## spacing for the requested fontsize.