From help-octave-request at bevo dot che dot wisc dot edu Tue Jan 12 10:37:39 1999 Subject: color 'k' From: "John W. Eaton" To: Daniel Heiserer Cc: "help-octave at bevo dot che dot wisc dot edu" Date: Tue, 12 Jan 1999 10:37:32 -0600 (CST) On 12-Jan-1999, Daniel Heiserer 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 at @ -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, "*"))