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

Home » Public Forums » archive » Re: 3D UserSym?
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: 3D UserSym? [message #67524 is a reply to message #67523] Mon, 03 August 2009 14:00 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Aug 3, 11:24 am, Brian Daniel <Daniels...@yahoo.com> wrote:
> I created at 3D scatter plot and animated a rotation using
> XInterAnimate.  When I view the scatter plot in the Z vs XY plane
> (through manipulating the Az and Ax keywords) my plot points disappear
> because they are drawn in just 2 dimensions.  Is there a way (maybe
> with UserSym) to create 3D plot points?  Thanks!

An example of how to do it with iplot:
x=randomu(seed,100)
y=randomu(seed,100)
z=randomu(seed,100)
osph=obj_new('orb') ;sphere object to use as symbol
iplot,x,y,z,sym_object=osph,/scatter

One potential advantage is that the properties can be changed after
the plot is made, and the plot reflects the changes. For instance, to
change the color and radius:
osph->setproperty,color=[255,255,0],radius=2.0

Note that since the object is created by you, it will keep existing
even after the iplot window is closed.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: DIALOG_PICKFILE() changes locale settings
Next Topic: envi_convert_file_coordinates

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

Current Time: Thu Oct 09 18:58:35 PDT 2025

Total time taken to generate the page: 1.36198 seconds