help-octave
[Top][All Lists]
Advanced

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

scatter marker style


From: samuel WEBER
Subject: scatter marker style
Date: Thu, 31 Mar 2016 10:32:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

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.

Bests,
Samuël


reply via email to

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