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: Rik
Subject: [Octave-bug-tracker] [bug #39692] text objects ignore backgroundcolor, linestyle, edgecolor
Date: Mon, 23 Oct 2017 11:46:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

There is definitely still some weirdness going on, but I'm not sure whether we
want to deal with it.  I see two choices.  First, we could try and find a
solution that works, provably, for all situations.  This might mean giving up
the current strategy based on polygon_offset and going back to loking at the
ordering of drawing objects.  Or, we could acknowledge that the code works for
90% of cases, but that some corner cases are always going to have problems.

It seems that tuning the margin can cause problems with whether the axes
background patch or the text background patch are in the foreground.

With txtback4.patch applied, I used this code


clf
set (gca, 'color', 'b');
ht = text (.5, .5, 'toto', 'backgroundcolor', 'r', 'margin', 20);
xlim ([0 3])
ylim ([0 3])
surface ();
view (90, 35)
#view (0, 26.8)  # This produces another odd view


Maybe it is worth checking in Matlab to see what the code above does?  It
could be that their patch object also is modified in size depending on the
viewing angle.



    _______________________________________________________

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]