help-octave
[Top][All Lists]
Advanced

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

Re: Plotting a black line


From: Miroslaw Kwasniak
Subject: Re: Plotting a black line
Date: Sun, 21 Nov 2004 11:02:51 +0100
User-agent: Mutt/1.5.6+20040907i

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
@@ -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
-------------------------------------------------------------



reply via email to

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