diff scripts/plot/print.m @ 11601:3706ac0750f1 release-3-0-x

[3-0-0-branch @ 2008-01-02 07:42:12 by jwe]
author jwe
date Wed, 02 Jan 2008 07:42:13 +0000
parents 3fade00a6ac7
children 0114d8cd1587
line wrap: on
line diff
--- a/scripts/plot/print.m
+++ b/scripts/plot/print.m
@@ -1,4 +1,4 @@
-## Copyright (C) 1999, 2005, 2006, 2007 Daniel Heiserer
+## Copyright (C) 1999, 2005, 2006, 2007, 2008 Daniel Heiserer
 ## Copyright (C) 2001 Laurent Mazet
 ##
 ## This file is part of Octave.
@@ -356,7 +356,7 @@
     else
       options = strcat (" size ", size);
     endif
-    new_terminal = strcat ("png", options);
+    new_terminal = strcat (dev, options);
 
   elseif (strcmp (dev, "dxf") || strcmp (dev, "mf") || strcmp (dev, "hpgl"))
     ## AutoCad DXF, METAFONT, HPGL