Insert Mark("size") before Glyph.
(Or have your program name the component "data"
instead of "size".)

Joel

> 
>  
> Greetings,
> 
> I'm following this list for quite a while (basically since I started
> using dx 3 month ago). I really like this program, but now I've got a
> problem I couldn't solve so far. I'm sure there is a very simple way of
> doing it, but I can't see it right now.
> 
> I've created a program that is generating a box filled (not tightly
> packed) with spheres of randoms sizes. Its output is of the following
> structure (assuming 100 spheres):
> 
> ----
> 
> object 1 class array type float rank 1 shape 3 items 100 data follows
>       -0.6902   -5.5948   0.0000 [x,y,z coordinate]
>       ...
> 
> object 2 class array type float rank 0 items 100 data follows
>       0.9999 [radius]
>       ...
> attribute "dep" string "positions"
> 
> object "data" class field
> component "positions" value 1
> component "size" value 2
> end
> 
> ----
> 
> How can I display these spheres on their correct positions and with the
> correct radius according to the size component? At the moment, I'm using
> Import->Glyph->Image which displays the spheres at the correct position
> but with the same radius (r=1 IIRC).
> 
> Do I have to choose a diffent output for my program? (Wouldn't be a
> problem if so.)
> 
> Thanks for your help,
> Kai


===============================================================
Joel Richardson, Ph.D.          [EMAIL PROTECTED]
The Jackson Laboratory          Phone:  (207) 288-6435
600 Main Street                 Fax:    (207) 288-6132
Bar Harbor, Maine 04609         URL:    www.informatics.jax.org
===============================================================

Reply via email to