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

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

[Octave-bug-tracker] [bug #44765] Legend object printed below lines in p


From: Michael Goffioul
Subject: [Octave-bug-tracker] [bug #44765] Legend object printed below lines in plot
Date: Tue, 07 Apr 2015 19:01:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36

Follow-up Comment #3, bug #44765 (project octave):

For the record, the way it works when drawing on screen is as follows: when
drawing a figure, the OpenGL renderer iterates over the children objects,
which are mainly(only) axes objects. For each axes object, the code resets the
transformation and clears the depth bit in the OpenGL buffer. This means that
all axes objects are drawn independently, without considering their relative
Z-depth; they are painted in sequence, one on top of each other.

The legend axes is painted after the normal axes, so it will always appear on
top of the normal axes object (even if its transformation matrix put it
theoretically behind the normal axes object).

It seems that this process is not occurring with using GL2PS and that it will
still consider the relative Z-depth of the axes when sorting the primitives.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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