comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » z-buffer and /noerase ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
z-buffer and /noerase ? [message #41692] Tue, 09 November 2004 09:19
sandrokan is currently offline  sandrokan
Messages: 20
Registered: September 2004
Junior Member
Ave, IDL users!

I've got two contour maps that should be drawn over an image, and I'm using
contour with /noerase key.

One could expect that the second contour would be drawn over the first one.
Strangely, if I use "set_plot, 'z'" command, the order is reversed (the
first one is over the second one). Please see this code:



pro test3
device, decomposed=0
loadct, 13
set_plot, 'z'
erase
a=dist(50) gt 10
contour, a, levels=[.5], color=200, /noerase

contour, a-1, levels=[-.5], color=100, /noerase

a=tvrd()
set_plot, 'win'

tv, a
end


I got a yello line (color=200) instead of the plue line (color=100).
This problem does not happen if I use the win device....


Thank you very much for any explanation. I use IDL5.2...


A
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Z-buffer and /noerase problem
Next Topic: XObjView: Select Object and Opacity Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:02:32 PDT 2025

Total time taken to generate the page: 0.03390 seconds