Your Glyph call isn't quite right for what you're trying to achieve. You want
Glyph(data, "circle", 1.0, 1.0, 0.0, 0.0);
I think that whill get you what you want.
David
Hello OpenDX-users,
I would like to plot circles with a given position and radius in a plane.
Is that possible?
Up to now, I have tried the following: I have written out a file "blobs.dx"
with the content
object 1 class array type float rank 1 shape 2 items 2 data follows
0.2 0.3
0.6 0.7
object 3 class array type float rank 0 items 2 data follows
0.5
0.3
attribute "dep" string "positions"
object "blobs" class field
component "positions" value 1
component "data" value 3
end
and I used the script commands:
data = Import("blobs.dx");
glyphs = Glyph(data, "circle", 1.0, 1.0);
camera = AutoCamera (glyphs);
image = Render(glyphs, camera);
Display(image);
Unfortunately, the output does not really fit my expectations, i.e. the
radii are not correct. I have also played around with the visual editor,
but also with little success. What am I doing wrong? Does anyone know a
script or visual program where such a thing is done?
Thank you for any information,
Nicolas.
--
.............................................................................
David L. Thompson Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED] 5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472