help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

color 'k'


From: John W. Eaton
Subject: color 'k'
Date: Tue, 12 Jan 1999 10:37:32 -0600 (CST)

On 12-Jan-1999, Daniel Heiserer <address@hidden> wrote:

| Hi,
| I am missing the color 'k' ==black in octave to keep my plotting m-files 
| compatible with matlab.
| 
| How can I put that into the src-code.
| Can somebody else do that for the official release.

Please try the following patch.  If this is not the correct color
number for black for you, can you please figure out what is?  It seems
that gnuplot's handling of colors is not consistent for all devices.

Thanks,

jwe


--- scripts/plot/__pltopt1__.m~ Wed Apr  8 10:19:30 1998
+++ scripts/plot/__pltopt1__.m  Tue Jan 12 10:32:03 1999
@@ -118,7 +118,7 @@
     elseif (strcmp (char, "c"))
       set_color = 1;
       color = "5";
-    elseif (strcmp (char, "w"))
+    elseif (strcmp (char, "w") || strcmp (char, "k"))
       set_color = 1;
       color = "6";
     elseif (strcmp (char, "*"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]