bugGNU Octave - Bugs: bug #59562, Add support for HTML hexadecimal...

 
 

bug #59562: Add support for HTML hexadecimal strings "#FF0088" for graphics color properties

Submitter:  Rik <rik5>
Submitted:  Fri 27 Nov 2020 06:23:31 PM UTC
   
 
Category:  Plotting Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Fixed Assigned to:  rik5
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 30 Nov 2020 09:35:12 PM UTC, comment #2: 

I checked in the changeset here: http://hg.savannah.gnu.org/hgweb/octave/rev/5b8885af4e2f.

Marking as fixed and closing report.

Rik <rik5>
Group administrator
Sun 29 Nov 2020 02:38:06 AM UTC, comment #1: 

Marking as "In Progress".  I have a changeset that adds this feature, but am wating on some C++ style questions to be answered before committing.

Rik <rik5>
Group administrator
Fri 27 Nov 2020 06:23:31 PM UTC, original submission:  

HTML coding has gained in prominence over the last 20 years and colors are now often specified by a hexadecimal string specifying the Red, Green, Blue color values such as "#FF0088".

It is easy enough to specify a hex RGB triplet in Octave for a color graphics property.  For example,


set (h, "color", [0xFF 0x00 0x88])


Still, I notice that Matlab has added support for a direct HTML hex string and this seems like a nice feature.

Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-30 rik5 StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2020-11-29 rik5 StatusConfirmed In Progress
        Assigned toNone rik5
    2020-11-27 rik5 Priority5 - Normal 3 - Low

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code