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 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 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 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 23 Jun 2013 11:46:31 PM UTCrik5Open/ClosedOpen=>Closed
    Sat 28 Apr 2012 02:51:28 AM UTCbpabbottStatusNone=>In Progress
    Sat 28 Apr 2012 02:26:01 AM UTCbpabbottSummaryTextColor property of legend object affecting wrong object=>TextColor property of legend object always renders as black
    Fri 27 Apr 2012 05:13:54 PM UTCbpabbottCategoryPlotting=>Plotting with OpenGL

    Back to the top

    Powered by Savane 3.1-cleanup1