changeset 5367:7e1347e6712e

[project @ 2005-05-23 20:18:24 by jwe]
author jwe
date Mon, 23 May 2005 20:18:24 +0000
parents 4229d6801f23
children 720dc7f7a75e
files scripts/plot/print.m
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/print.m	Mon May 23 20:08:39 2005 +0000
+++ b/scripts/plot/print.m	Mon May 23 20:18:24 2005 +0000
@@ -222,7 +222,7 @@
 	options = strcat (options, " ", fontsize);
       endif
 
-      __gnuplot_raw__ (sprintf ("set terminal postscript %s;\n", options));
+      __gnuplot_raw__ (sprintf ("set terminal postscript %s push;\n", options));
 
 
     elseif (strcmp (dev, "aifm") || strcmp (dev, "corel"))
@@ -239,7 +239,7 @@
 	options = strcat (options, " ", fontsize);
       endif
 
-      __gnuplot_raw__ (sprintf ("set terminal %s %s;\n", dev, options));
+      __gnuplot_raw__ (sprintf ("set terminal %s %s push;\n", dev, options));
 
     elseif (strcmp (dev, "fig"))
       ## XFig
@@ -252,7 +252,7 @@
       if (! isempty (fontsize))
 	options = strcat (options, " fontsize ", fontsize);
       endif
-      __gnuplot_raw__ (sprintf ("set terminal fig %s;\n", options));
+      __gnuplot_raw__ (sprintf ("set terminal fig %s push;\n", options));
 
     elseif (strcmp (dev, "png") || strcmp (dev, "pbm"))
       ## Portable network graphics, PBMplus
@@ -270,11 +270,11 @@
       ##eval (sprintf ("__gnuplot_set__ term %s mono medium", dev));
       ##endif
 
-      __gnuplot_raw__ ("set terminal png large;\n")
+      __gnuplot_raw__ ("set terminal png large push;\n")
 
     elseif (strcmp (dev, "dxf") || strcmp (dev, "mf") || strcmp (dev, "hpgl"))
       ## AutoCad DXF, METAFONT, HPGL
-      __gnuplot_raw__ (sprintf ("set terminal %s;\n", dev));
+      __gnuplot_raw__ (sprintf ("set terminal %s push;\n", dev));
     endif
 
     ## Gnuplot expects " around output file name