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

Home » Public Forums » archive » Re: draw spheres in 3D space
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: draw spheres in 3D space [message #76496 is a reply to message #76489] Mon, 06 June 2011 12:40 Go to previous messageGo to previous message
Junum is currently offline  Junum
Messages: 13
Registered: May 2010
Junior Member
On Jun 6, 2:26 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Jun 6, 4:14 pm, Junum <junshi...@gmail.com> wrote:
>
>> Thank you for suggestion, but I got error message,
>
>> IDL> xyz=[[0,0,0],[2,0,0],[-2,0,0],[0,2,0],[0,-2,0],[0,0,2],[0,0, -2]]
>> IDL> p=plot3d(xyz[0,*],xyz[1,*],xyz[2,*],sym_object=orb(),/
>> undocumented,linestyle='none')
>
>> p=plot3d(xyz[0,*],xyz[1,*],xyz[2,*],sym_object=orb(),/
>> undocumented,linestyle='none')
>>                                                ^
>> % Syntax error.
>
>> I am using IDL 7.0.
>
> That will not work in 7.0. This will:
>
> xyz=[[0,0,0],[2,0,0],[-2,0,0],[0,2,0],[0,-2,0],[0,0,2],[0,0, -2]]
> orb=obj_new('orb')
> iplot,xyz,/scatter,sym_object=orb

Dear Paulo Penteado

Thank you for your help.
Now I don't have any problem, except symbols are too small.
I can change symbol size manually, but what I wanted is seven spheres
attached, so I specified size and center of spheres.
Can I specify the size of sphere?
Thank you.

Jun
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Automated plotting for website?
Next Topic: Major ticks is exceeds the plotting window

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

Current Time: Sat Oct 11 04:44:18 PDT 2025

Total time taken to generate the page: 0.47408 seconds