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

Home » Public Forums » archive » Does object graphics have true-color?
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
Does object graphics have true-color? [message #50361] Wed, 27 September 2006 20:57
yy is currently offline  yy
Messages: 14
Registered: September 2006
Junior Member
Hi, there,
In direct graphics, I can use the following to define my own colors:
cc=0.99*tanh((findgen(ncolors)/30-4.)/2.)/2+0.5
plots,[0,u],[0,v],[0,w], /t3d, $
color=256.^2*B(cc(c)*255.)+256.*G(cc(c)*255.)+R(cc(c)*255.)

Can I do the same thing in object graphics?
Does SetRGB in IDLgrPalette work in the
same way? Thank you!

Jingyi
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Astronomy Library update
Next Topic: Dereferencing a large array in a structure

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

Current Time: Fri Oct 10 08:41:06 PDT 2025

Total time taken to generate the page: 0.48180 seconds