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


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

Submitted by:  None
Submitted on:  Sun 04 Aug 2013 05:26:32 PM UTC  
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 Markup)

You are not logged in

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


Mon 05 Jun 2017 11:26:18 PM UTC, comment #4:

I wanted to ask about the state of this issue and if this may help fixing it: https://stackoverflow.com/a/32600654

Thank you

CH <atcl>
Tue 22 Nov 2016 09:14:55 PM UTC, 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 14 Aug 2013 03:57:23 PM UTC, 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 05 Aug 2013 01:43:31 PM UTC, 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 04 Aug 2013 05:26:32 PM UTC, 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 atcl (Posted a comment)
  • -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 14 Aug 2013 03:57:23 PM UTCbpabbottCategoryPlotting=>Plotting with OpenGL
      Summarytext(....\'backgroundcolor\',\'green\') has no effect=>text objects ignore backgroundcolor, linestyle, edgecolor
    Mon 05 Aug 2013 01:43:31 PM UTCmtmillerCategoryPlotting 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