diff scripts/plot/print.m @ 7269:3fade00a6ac7

[project @ 2007-12-07 19:26:20 by jwe]
author jwe
date Fri, 07 Dec 2007 19:26:21 +0000
parents e8d953d03f6a
children 72b0181c41f1
line wrap: on
line diff
--- a/scripts/plot/print.m	Fri Dec 07 17:11:28 2007 +0000
+++ b/scripts/plot/print.m	Fri Dec 07 19:26:21 2007 +0000
@@ -372,10 +372,12 @@
 
   endif
 
+  mono = use_color < 0;
+
   if (debug)
-    drawnow (new_terminal, name, debug_file);
+    drawnow (new_terminal, name, mono, debug_file);
   else
-    drawnow (new_terminal, name);
+    drawnow (new_terminal, name, mono);
   endif
 
   if (! isempty (convertname))