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

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

[Octave-bug-tracker] [bug #48956] function plot works for format argumen


From: anonymous
Subject: [Octave-bug-tracker] [bug #48956] function plot works for format argument color "y" but not documented
Date: Wed, 31 Aug 2016 03:52:24 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: function plot works for format argument color "y"
but not documented
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 31 Aug 2016 03:52:21 AM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
        Operating System: Any

    _______________________________________________________

Details:

The doc-string of function plot is now

     color

          'k'  blacK
          'r'  Red
          'g'  Green
          'b'  Blue
          'm'  Magenta
          'c'  Cyan
          'w'  White


Should it be

     color

          'k'  blacK
          'r'  Red
          'g'  Green
          'b'  Blue
          'y'  Yellow
          'm'  Magenta
          'c'  Cyan
          'w'  White

for completeness of the basic 8 colors:
rgb=[0,0,0] black
rgb=[1,0,0] red
rgb=[0,1,0] green
rgb=[0,0,1] blue
rgb=[1,1,0] yellow <-- missing now
rgb=[1,0,1] magenta
rgb=[0,1,1] cyan
rgb=[1,1,1] white

A patch:

--- a/plot.m
+++ b/plot.m
@@ -149,6 +149,7 @@
 ## @item @samp{r} @tab Red
 ## @item @samp{g} @tab Green
 ## @item @samp{b} @tab Blue
+## @item @samp{y} @tab Yellow
 ## @item @samp{m} @tab Magenta
 ## @item @samp{c} @tab Cyan
 ## @item @samp{w} @tab White





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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