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

Home » Public Forums » archive » Re: 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
Re: Question About Scatter Surface Pro (www.dfanning.com) [message #48703 is a reply to message #48701] Wed, 17 May 2006 08:34 Go to previous messageGo to previous message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
I think you can use the XRANGE, YRANGE, ZRANGE keywords or YCOORD_CONV
and so on to define how to show data.

Bye.

(I have my IDL very oxy-dated :( ).


j.vanknippenberg escribi�:
> 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
Read Message
Read Message
Read Message
Previous Topic: Re: MPFITFUN AND PARINFO
Next Topic: Question About Scatter Surface Pro (www.dfanning.com)

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

Current Time: Thu Oct 09 20:02:51 PDT 2025

Total time taken to generate the page: 0.79894 seconds