Hi,
Could someone test the following code in ML. We would like to see how the text background area behaves when it crosses the axes back planes with or without clipping enabled (see
https://savannah.gnu.org/bugs/?39692).
---
clf
set (gca, 'color', 'b');
ht = text (.5, .5, 'toto', 'backgroundcolor', 'r', 'margin', 20);
xlim ([0 3])
ylim ([0 3])
surface ();
view (90, 35);
drawnow
c = getframe (gcf);
imwrite (c.cdata, 'view_90_35.png');
view (0, 26.8)
drawnow
c = getframe (gcf);
imwrite (c.cdata, 'view_0_26.8.png');
set (ht, 'clipping', 'on')
drawnow
c = getframe (gcf);
imwrite (c.cdata, 'view_0_26.8_clipping.png');
---
The script should generate 3 png files with figure captures.
Pantxo