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

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

[Octave-bug-tracker] [bug #50227] annotation does not know color propert


From: Hartmut
Subject: [Octave-bug-tracker] [bug #50227] annotation does not know color property (but it claims to know it)
Date: Sat, 4 Feb 2017 22:13:09 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

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

                 Summary: annotation does not know color property (but it
claims to know it)
                 Project: GNU Octave
            Submitted by: hardy
            Submitted on: Sat 04 Feb 2017 10:13:08 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Any

    _______________________________________________________

Details:

This happens in Octave 4.2.0:

graphics_toolkit qt % fltk and gnuplot behave the same
clear, close all
plot(1:10)
annotation("rectangle", [0.4 0.4 0.2 0.2], "color", "red");


The result is an error message:

error: set: unknown hggroup property color


But the help text of annotation does mention the color property:

     "rectangle"
          Construct a rectangle.  POS specifies the "position" property
          of the annotation.

          You may use "facecolor", "color", "linestyle", and "linewidth"
          properties to customize the rectangle background color and
          edge appearance.


And Matlab is supposed to know this option as well, see
http://de.mathworks.com/help/matlab/ref/annotation.html#busqlwm




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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