octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39692] text objects ignore backgroundcolor, l


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #39692] text objects ignore backgroundcolor, linestyle, edgecolor
Date: Tue, 24 Oct 2017 07:19:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #18, bug #39692 (project octave):

@Rik: clipping *does work* for text objects, it is simply set to "off" by
default.


clf
ht = text (.5, 1.05, 'toto'); ## the text is visible even if outside the axes
limits
set (ht, "clipping", "on"); ## the text is now invisible/clipped


The problem with the patch I provided is that the background area disappears
as long as "clipping" is set "on", even when the text is (unambiguously)
inside the axes:


clf
ht = text (.5, .5, 'toto', "backgroundcolor", "r"); 
set (ht, "clipping", "on"); ## the text is still there as expected but the
background disappeared


I will check how clipping is handled for markers and report back here.

In any event it would be good to have someone test this in Matlab

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39692>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]