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

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

[Octave-bug-tracker] [bug #64956] 'color' isn't a supported property of


From: anonymous
Subject: [Octave-bug-tracker] [bug #64956] 'color' isn't a supported property of a contour group but... it should. Or doc should be more explicit
Date: Fri, 1 Dec 2023 08:21:12 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?64956>

                 Summary: 'color' isn't a supported property of a contour
group but... it should.  Or doc should be more explicit
                   Group: GNU Octave
               Submitter: None
               Submitted: Fri 01 Dec 2023 01:21:09 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: cochard
        Originator Email: alain.cochard@unistra.fr
             Open/Closed: Open
                 Release: 7.3.0
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 01 Dec 2023 01:21:09 PM UTC By: Anonymous
I am aware of https://savannah.gnu.org/bugs/?41096, which says that 

   'color' isn't a supported property of a contour group.

and that 'linecolor' can be used, but I still find annoying that something
works in matlab but not in octave.

Everything below is with matlab 9.11.0.1809720 (R2021b) Update 1 and octave
7.3.0.

The 4 following intructions work OK in both 


plot((1:2), (1:2), 'Color', 'Red'); 
plot((1:2), (1:2), 'color', 'Red'); 
plot((1:2), (1:2), 'Color', 'red'); 
plot((1:2), (1:2), 'color', 'red'); 


Also, using 


peaks(100);


the 4 following intructions work OK in matlab but fail in octave


contour(z, [4, 4], 'Color', 'Red')
contour(z, [4, 4], 'color', 'Red')
contour(z, [4, 4], 'Color', 'red')
contour(z, [4, 4], 'color', 'red')


giving the error

error: set: unknown hggroup property Color

At least I'd say that the documentation ('help contour') is not explicit
enough, an excerpt being:

     The appearance of contour lines can be defined with a line style
     STYLE in the same manner as ‘plot’.  








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64956>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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