help-octave
[Top][All Lists]
Advanced

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

Re: scatter marker style


From: Mike Miller
Subject: Re: scatter marker style
Date: Thu, 31 Mar 2016 09:29:45 -0700
User-agent: Mutt/1.5.24 (2015-08-30)

On Thu, Mar 31, 2016 at 10:32:33 +0200, samuel WEBER wrote:
> Dears,
> 
> Here is a little "bug" I think.
> In the doc of the scatter function, it is said:
> 
>     The marker to use can be changed with the STYLE argument, that is a
>          string defining a marker in the same manner as the 'plot' command.
> 
> But the command
> 
> scatter(rand(1,10), rand(1,10), '.r')
> 
> gives the following error
> 
> error: invalid color specification: .r
> 
> error: called from
> 
>     __scatter__ at line 178 column 11
> 
>     scatter at line 86 column 10
> 
> error: invalid value for color property "markeredgecolor" (value = .r)
> 
> error: called from
> 
>     __scatter__ at line 178 column 11
> 
>     scatter at line 86 column 10
> 
> The correct syntax for scatter is for me :
> 
> scatter(rand(1,10), rand(1,10), 'r', '.')
> 
> but this is not "in the same manner as the 'plot' command'.
> 
> I have octave 4.0.0 in Linux.

Yes, this looks like a bug to me. Please report it:

  https://savannah.gnu.org/bugs/?func=additem&group=octave

-- 
mike



reply via email to

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