octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47594] Marker style in scatter plot is not we


From: anonymous
Subject: [Octave-bug-tracker] [bug #47594] Marker style in scatter plot is not well documented
Date: Fri, 01 Apr 2016 09:47:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?47594>

                 Summary: Marker style in scatter plot is not well documented
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 01 Apr 2016 09:47:19 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Documentation
                  Status: None
             Assigned to: None
         Originator Name: Samuel
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi,


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.

However :

scatter(rand(1,10), rand(1,10), '.r')

results in 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 is : 

scatter(rand(1,10), rand(1,10), 'r', '.')

but this is not "in the same manner as the 'plot' command'.

The doc or the scatter command have to be updated.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47594>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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