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

Home » Public Forums » archive » Question About Scatter Surface Pro (www.dfanning.com)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Question About Scatter Surface Pro (www.dfanning.com) [message #48706] Wed, 17 May 2006 07:24 Go to previous message
j.vanknippenberg is currently offline  j.vanknippenberg
Messages: 3
Registered: May 2006
Junior Member
Hi everyone :)

I want to use this program to view roughly 100 regularly spaced points,
and their properties. The problem I seem to have is that the ORBS are
not spherical, but instead kind of ellipsoid. This is because the data
ranges for X, Y and Z are not comparable? What I mean is that the
xrange goes from 0-100, while the zrange from 0-0.01 for example. Any
idea on how to fix this? ( Im relatively new to IDL ;) )

The program can be found here:
http://www.dfanning.com/tip_examples/scatter_surface.pro

And I think the orbs are created in this section:

; Create the symbols for each point. This is almost certainly
; not the most efficient way if you have lots of points, but
; it works well for a reasonable number.

npts = N_Elements(x)
orbs=ObjArr(npts)
line=ObjArr(npts)
FOR j=0,npts-1 DO BEGIN
orbs[j] = Obj_New('ORB', Color=[r[zcolors[j]], g[zcolors[j]],
b[zcolors[j]]], $
Style=2, Radius=0.015, Pos=[x[j],y[j],z[j]])
line[j] = Obj_New('IDLgrPolyLine', [x[j], x[j]], [y[j], y[j]],
[min(z), z[j]], $
Color=[r[zcolors[j]], g[zcolors[j]], b[zcolors[j]]])
thisModel->Add, orbs[j]
thisModel->Add, line[j]
ENDFOR

Also, my data consists of 3 different sets. I would like to have 1
color for each set, but ofcourse different when compared to the other
2. Any hints on how to proceed on this?

Thanks in advance! :)

J.vanknippenberg
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Question About Scatter Surface Pro (www.dfanning.com)
Next Topic: IDL command for directory files listing

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

Current Time: Fri Oct 10 20:55:05 PDT 2025

Total time taken to generate the page: 0.07966 seconds