bugGNU Octave - Bugs: bug #39692, text objects ignore...


bug #39692: text objects ignore backgroundcolor, linestyle, edgecolor

Submitted by:  None
Submitted on:  Sun Aug 4 17:26:32 2013  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue Nov 22 21:14:55 2016, comment #3:

This feature is still missing in Octave 4.2.0.

Here is a small script to easily reproduce the behavior:

Currently this results is no green area behind the text, nor any kind of warning.

Hartmut <hardy>
Wed Aug 14 15:57:23 2013, comment #2:

Gnuplot doesn't support placing text in a box. And since we don't have access to the font metrics used by Gnuplot, I think that falls in to the "won't fix".

However, we do need to include this functionality for the OpenGL toolkits. So, I'm changing the category to "Plotting with OpenGL".

Ben Abbott <bpabbott>
Project Member
Mon Aug 5 13:43:31 2013, comment #1:

Confirmed, the backgroundcolor and edgecolor properties have no effect on text objects, with either gnuplot or OpenGL plotting.

Mike Miller <mtmiller>
Project Administrator
Sun Aug 4 17:26:32 2013, original submission:


text(10,20,output,'backgroundcolor','green','edgecolor',[0,0,0]) takes no effekt on the plot. There is still no background and no edge around the text i saved as output.

How can i get a box around the text field, with a backgroundcolor and an edgecolor? like matlab does



(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 hardy (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)

    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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Aug 14 15:57:23 2013bpabbottCategoryPlotting=>Plotting with OpenGL
      Summarytext(....\'backgroundcolor\',\'green\') has no effect=>text objects ignore backgroundcolor, linestyle, edgecolor
    Mon Aug 5 13:43:31 2013mtmillerCategoryPlotting with gnuplot=>Plotting
      Operating SystemGNU/Linux=>Any
      Summarytext(....\'backgroundcolor\',\'green\') takes no effekt=>text(....'backgroundcolor','green') has no effect

    Back to the top

    Powered by Savane 3.1-cleanup1