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

Home » Public Forums » archive » function graphic property.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
function graphic property. [message #91599] Tue, 04 August 2015 20:56 Go to previous message
Dae-Kyu Shin is currently offline  Dae-Kyu Shin
Messages: 25
Registered: February 2015
Junior Member
Hi, i have a question.
The question is in the example.



function test123, data, x, y, $
overplot=overplot

;; actually, there is a very complicated precess
;; but now simple case


;; Question. When keyword set "overplot=1" How can i get the "i1" property
;; (rgb_table, min_value.. and so on)?.
;; Yes, i know the esay way that overplot=i1.
;; But is this possible get the property of latest graphic(in this example, "i1")?
;;


i = image(data, x, y, $
rgb_table=rgb_table, $
overplot=overplot, $
/axis, aspect_ratio=0)
return, i
end




pro test


data = findgen(300, 300)
x = findgen(300)
y = x


i1 = image(data, x, y, rgb_table=33)

data2 = dist(300)
i2 = test123(data2, x+400, y, /overplot

end



Thanks.
[Message index]
 
Read Message
Read Message
Previous Topic: What's New in IDL 8.4
Next Topic: OT: IDL math problem solving

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

Current Time: Wed Oct 08 14:18:01 PDT 2025

Total time taken to generate the page: 0.00188 seconds