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 08 Apr 2013 06:32:34 PM UTC  
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 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 02 Jul 2013 12:25:20 AM UTC, comment #8:

Fixed in original report of #37007.

Rik <rik5>
Project Administrator
Mon 24 Jun 2013 12:52:58 AM UTC, 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 16 Apr 2013 12:55:00 PM UTC, comment #6:

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

Muhali <muhali>
Wed 10 Apr 2013 11:41:46 PM UTC, 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 10 Apr 2013 11:31:02 PM UTC, 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 10 Apr 2013 11:28:19 PM UTC, 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 10 Apr 2013 06:55:43 PM UTC, 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 10 Apr 2013 06:45:29 PM UTC, 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 08 Apr 2013 06:32:34 PM UTC, 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 02 Jul 2013 12:25:20 AM UTCrik5StatusDuplicate=>Fixed
    Mon 24 Jun 2013 01:32:47 AM UTCrik5StatusNone=>Duplicate
      Dependencies-=>Depends on bugs #37007

    Back to the top

    Powered by Savane 3.1-cleanup1