bugGNU Octave - Bugs: bug #38683, "color" parameter in...


bug #38683: "color" parameter in text command does nothing

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Mon Apr 8 18:32:34 2013  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Michael GodfreyOpen/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.


(Jump to the original submission Jump to the original submission)

Tue Jul 2 00:25:20 2013, comment #8:

Fixed in original report of #37007.

Rik <rik5>
Project Administrator
Mon Jun 24 00:52:58 2013, comment #7:

This is the third time that this bug has been reported. See bug #37007 for the original report.

Apparently an updater of some sort is failing to fire when setting the color of text objects. However, if the text string is changed so that it needs to be re-drawn then the color is respected.

Sample code:

Rik <rik5>
Project Administrator
Tue Apr 16 12:55:00 2013, comment #6:

just adding that the print output has the correct color, even with fltk (and the current tip).

Muhali <muhali>
Wed Apr 10 23:41:46 2013, comment #5:


I just noticed your comment below that it does not
work for you in 3.6.4. For me (Fedora 18 release
of 3.6.4 it definitely fails using fltk
but works using gnuplot. This is the same as the
current devel system.

I just looked at my original report and it appears
that I did not include the fact that I was using fltk.


Michael Godfrey <godfrey>
Project Member
Wed Apr 10 23:31:02 2013, comment #4:

And, I just checked and found that it works when
using gnuplot in the current devel.

So, the regression only affects fltk.

Michael Godfrey <godfrey>
Project Member
Wed Apr 10 23:28:19 2013, comment #3:

I got a little closer: it works in 3.6.4.

I do not have any versions between 3.6.4 and the current devel.

Michael Godfrey <godfrey>
Project Member
Wed Apr 10 18:55:43 2013, comment #2:

I just checked with version 3.4.3 and it worked there. So it is definitely a regression. Did it used to work on the 3.7 branch?

Rik <rik5>
Project Administrator
Wed Apr 10 18:45:29 2013, comment #1:

Can you use hg bisect to discover the changeset that caused this regression? The code doesn't work for 3.6.4. Did it ever work in the development version?

Rik <rik5>
Project Administrator
Mon Apr 8 18:32:34 2013, original submission:

text(0,50,"red text","color","red")

Displays the text "red text" in black.
For colors that I have tried none work, so it
appears that the "color" parameter has stopped
The parameter "color" is recognized since
text(0,50,"red text","color","xxx")
error: invalid color specification: xxx
error: invalid value for color property "color" (value = xxx)
error: called from:
error: /usr/local/share/octave/3.7.2+/m/plot/text.m at line 126, column 13

Michael Godfrey <godfrey>
Project Member


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

Attach File(s):

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by godfrey (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
    Tue Jul 2 00:25:20 2013rik5StatusDuplicate=>Fixed
    Mon Jun 24 01:32:47 2013rik5StatusNone=>Duplicate
      Dependencies-=>Depends on bugs #37007

    Back to the top

    Powered by Savane 3.1-cleanup1