From help-request at octave dot org Sun Nov 21 04:06:39 2004 Subject: Re: Plotting a black line From: Miroslaw Kwasniak To: help at octave dot org Cc: bug at octave dot org Date: Sun, 21 Nov 2004 11:02:51 +0100 On Sat, Nov 20, 2004 at 11:19:50AM -0800, Henry F. Mollet wrote: > Sorry that I did not completely specify what I've got and it's what was > installed about 1 yr ago using fink and thus a "dated" configuration: > GNU Octave, version 2.1.46 (powerpc-apple-darwin6.6). > G N U P L O T Version 3.8i patchlevel 0 > AquaTerm version 0.1 (v0.3.0) > > I've checked again today and it looks like a gray line to me in AquaTerm. > However I cannot see the data points and did not expect to see them. Then I > saved as pdf (see attached) and in addition to the gray line (somewhat > jagged) I could also see 9 data points (at 0.1 to 0.9; very faint). On my side that line in your pdf looks gray without points - checked with max allowed zoom in acroread4, acroread5, xpdf3 ;) I assume that small patch for __pltopt1__.m should solve your problem - it adds support for black color lines (symbol "k") Mirek ===================================================== $ diff -u __pltopt1__.m0 __pltopt1__.m --- __pltopt1__.m0 2004-11-21 10:12:41.000000000 +0100 +++ __pltopt1__.m 2004-11-21 10:39:53.000000000 +0100 at @ -139,7 +139,10 @@ elseif (strcmp (char, "c")) set_color = 1; color = "5"; - elseif (strcmp (char, "w") || strcmp (char, "k")) + elseif (strcmp (char, "k")) + set_color = 1; + color = "-1"; + elseif (strcmp (char, "w")) set_color = 1; color = "6"; elseif (strcmp (char, "*")) ===================================================== ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------