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

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

[Octave-bug-tracker] [bug #40722] Z-order stacking of lines and patches


From: Rik
Subject: [Octave-bug-tracker] [bug #40722] Z-order stacking of lines and patches
Date: Wed, 27 Nov 2013 16:45:00 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

Update of bug #40722 (project octave):

                  Status:                    None => Confirmed              
                 Summary: cannot arrange lines and patches => Z-order stacking
of lines and patches
              Depends on:                         => bugs #40054            

    _______________________________________________________

Follow-up Comment #1:

See also bug #40054.  There is a known problem with Z-order stacking of 2-D
plots and OpenGL.  

How best to solve it is hard to say.  In the short term you can plot
everything in 3-D and use your own Z values to control the stacking.  Use
"view(2)" to have a 2-D view so that it looks like an ordinary plot.

Example:


plot3([0 2], [0,1], [0 0], "r", "linewidth", 10)
patch([0 2 1], [1 1 0], [1 1 1], "b")


which places the line at Z=0 and the patch at Z=1.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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