[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting a black line
From: |
Henry F. Mollet |
Subject: |
Re: Plotting a black line |
Date: |
Sun, 21 Nov 2004 12:05:29 -0800 |
User-agent: |
Microsoft-Entourage/10.1.1.2418 |
Thanks. Hurray it worked after making changes *and* opening a new Octave
session. Before opening a new session, "k" produced brown line with old and
new __pltopt1__.m.
Henry
octave:1> x=[0:0.1:1];
octave:2> y=2*x;
octave:3> plot (x,y,"address@hidden") % "0" for no points style/symbol for data
points
on 11/21/04 2:02 AM, Miroslaw Kwasniak at address@hidden wrote:
> 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
> -------------------------------------------------------------
>
-------------------------------------------------------------
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
-------------------------------------------------------------