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

Home » Public Forums » archive » IDL scale property
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
IDL scale property [message #49979] Wed, 23 August 2006 11:23
adisn123 is currently offline  adisn123
Messages: 44
Registered: July 2006
Member
Hello,

This is little frustrating since it should work fine.

I'm trying to plot distribution of stars with sphere shape points using
idlgrsymbol
THe followings are what I used.

Here array is the 3D (3 column and 3000 rows) array of stars.

x1 = array[0,*]
x1 = reform(x1) ;make as 1D array

y1 = array[1,*]
y1 = reform(y1)

z1 = array[2,*]
z1 = reform(z1)

orb1 = obj_new('orb', color = [0,0,255], radius = 0.2)
orb1 -> scale, 1,1,1
sym1 = obj_new('idlgrsymbol', orb1)

xplot3d, x1, y1, z1, symbol = sym1, linestyle =6


I used "scale" to be 1, 1, 1 in x, y, and z axis such that it makes a
sphere.
BUt, somehow, in my final plot, the plotted points look like an
ellipsoid ellongated in z axis.

Am I missing something here???
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl_startup.pro
Next Topic: Re: IDL scale property

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

Current Time: Wed Oct 08 13:36:15 PDT 2025

Total time taken to generate the page: 0.00493 seconds