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

Home » Public Forums » archive » Re: How to draw IDLgrPlots over IDLgrImages?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to draw IDLgrPlots over IDLgrImages? [message #67816 is a reply to message #67809] Thu, 27 August 2009 09:55 Go to previous messageGo to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
I'm trying to plot some IDLgrPlots above an IDLgrImage. I draw the
plots firstly and then the image. The image can change.
If I don't do anything, the image is drawn over the plots and I don't
want that.

I'm trying to use the ZVALUE property of the IDLgrPlot but I didn't
succeed. My idea is plot the IDLgrPlots using a different Z value,
more closer to the EYE of the viewer. If I can do that, my problem
will disappear.

The View uses an ortogonal projection by default, the Znear and Zfar
are set to [-1,1] and the eye is in the position 4.
So, in theory, using the following declaration, all should work

plot=OBJ_NEW('IDLgrPlot', COLOR=..., DATAX=INDGEN(10),DATAY=INTARR
(10),ZVALUE=0.5, /USE_ZVALUE)

But, the plot is always under the image. Can you help now ?
Thanks,
nata
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: use of loops in IDL for hashtable
Next Topic: Readu, Writeu Causing Segmentation Fault

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

Current Time: Fri Oct 10 14:57:29 PDT 2025

Total time taken to generate the page: 0.72326 seconds