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

Home » Public Forums » archive » NG: bring_to_front doesn't always work
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
NG: bring_to_front doesn't always work [message #89070] Tue, 22 July 2014 07:21 Go to previous message
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
Dear Folks,

In overlaying plots created with PLOT(), I've noticed that the ORDER
method sometimes doesn't work, or at least not completely. The plots in
question are reasonably complicated, and I haven't found a minimal
example. The idea is

p1 = PLOT(x1, y1)
p2 = PLOT(x2, y2, symbol='o', linestyle='',/sym_filled,sim_color='black',sim_fill_color='w hite',over=p1)
p3 = PLOT(x3, y3, over = p1)

p2.order, /bring_to_front

My goal is to have the filled circles from p2 appear over the curve from p3.
Instead, and only sometimes, the curve from p3 obscures some, but not all, of the
filled circles from p2.

This almost certainly is a bug. I'm running IDL 8.3 and have seen similar
behavior under linux and MacOS.

Changing the order of the PLOT commands would fix the problem,
but would make my plotting script less easy to read.
Is there an "in-place" workaround? Will this be fixed in 8.4?

Many thanks,

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mosaicking a folder of TIFF files that includes 1-D horizontal strips
Next Topic: covariance matrix

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

Current Time: Wed Oct 08 11:44:09 PDT 2025

Total time taken to generate the page: 0.00463 seconds