bugGNU Octave - Bugs: bug #36136, TextColor property of legend...


bug #36136: TextColor property of legend object *always* renders as black

Submitted by:  Rik <rik5>
Submitted on:  Mon 09 Apr 2012 03:32:01 AM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  In Progress Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 23 Jun 2013 11:46:31 PM UTC, comment #5:

The problem is not with legend, but rather that the color property does not work with Text objects and OpenGL (see bug #37007). Closing report.

Rik <rik5>
Project Administrator
Sat 28 Apr 2012 02:50:24 AM UTC, comment #4:

Using the fltk backend, the printed output has the correct color.

The command below displays black text labels for the legend.

The printed result, has bright pink text.

Ben Abbott <bpabbott>
Project Member
Sat 28 Apr 2012 02:41:24 AM UTC, comment #3:

I'm not able to determine where the remaining bug is.

The text objects have the correct "color", but still render black

Ben Abbott <bpabbott>
Project Member
Sat 28 Apr 2012 02:26:01 AM UTC, comment #2:

I pushed a 2nd changeset


The line colors are now correct, but the text color for the legend entries are still incorrect.

Ben Abbott <bpabbott>
Project Member
Fri 27 Apr 2012 05:13:54 PM UTC, comment #1:

This looks to be two bugs. One for the gnuplot backend, and the other for the OpenGL backends.

The OpenGL, changing the "textcolor" property changes the color of the graphics objects used in the legend.

For gnuplot, I've pushed a changetset.


I'm changing the category and is for OpenGL.

Ben Abbott <bpabbott>
Project Member
Mon 09 Apr 2012 03:32:01 AM UTC, original submission:

The TextColor property is supposed to change the color of the text in the legend. Instead, it is changing the color of the line object in the legend key.

Sample code:

Rik <rik5>
Project Administrator


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

Attach Files:

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 bpabbott (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-23 rik5 Open/ClosedOpen => Closed
    2012-04-28 bpabbott StatusNone => In Progress
    2012-04-28 bpabbott SummaryTextColor property of legend object affecting wrong object => TextColor property of legend object always renders as black
    2012-04-27 bpabbott CategoryPlotting => Plotting with OpenGL

    Back to the top

    Powered by Savane 3.3