help-octave
[Top][All Lists]
Advanced

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

Re: bug in scatter() in 3.6.2 ?


From: Andreas Weber
Subject: Re: bug in scatter() in 3.6.2 ?
Date: Tue, 22 Jan 2013 13:33:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

On 22.01.2013 10:57, Eric Chassande-Mottin wrote:
I think I've found a bug in scatter()
N=101; a=rand(1,N); b=rand(1,N); c=ones(1,N); scatter(a,b,20,c,"filled");
error: invalid value for color property "markerfacecolor"

Dear Eric,
I can confirm this with octave3.6.3 and graphics_toolkit gnuplot.
It works as expected with 3.6.3 and fltk. This also works with gnuplot and the current default branch 139f4b19a3ac.

Perhaps this patch http://hg.savannah.gnu.org/hgweb/octave/rev/566cf544d020 tried to adress this issue.

You may try to change line 271 in __scatter__.m to
>    gnuplot_hack = (numel (x) > 1 && columns (c) == 3
> && strcmp (toolkit, "gnuplot"));

to see if my guess is right. Regards Andy

--
Mit freundlichen Grüßen

Dipl.-Ing.(FH) Andreas Weber
Akademischer Mitarbeiter
Fakultät Elektrotechnik und Informationstechnik

Hochschule Offenburg - University of Applied Sciences Offenburg
Badstraße 24
77652 Offenburg
Telefon +49 781 205-386



reply via email to

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