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 Apr 9 03:32:01 2012  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: In ProgressAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sun Jun 23 23:46:31 2013, 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 Apr 28 02:50:24 2012, 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 Apr 28 02:41:24 2012, 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 Apr 28 02:26:01 2012, 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 Apr 27 17:13:54 2012, 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 Apr 9 03:32:01 2012, 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by rik5 (Submitted the item)

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Jun 23 23:46:31 2013rik5Open/ClosedOpen=>Closed
    Sat Apr 28 02:51:28 2012bpabbottStatusNone=>In Progress
    Sat Apr 28 02:26:01 2012bpabbottSummaryTextColor property of legend object affecting wrong object=>TextColor property of legend object always renders as black
    Fri Apr 27 17:13:54 2012bpabbottCategoryPlotting=>Plotting with OpenGL

    Back to the top

    Powered by Savane 3.1-cleanup1