You can use Glyph, rather than AutoGlyph, and send in the size on the
'scale' input. One other point - you don't need the ShowPositions - you
can run Glyph (or AutoGlyph, for that matter) on the original data.
Greg
Nicolas Neuss
<[EMAIL PROTECTED] To:
[email protected]
berg.De> cc:
Sent by: Subject:
[opendx-users] changing size of glyphs
[EMAIL PROTECTED]
son.ibm.com
01/14/2003 08:51 AM
Please respond to
opendx-users
Hello,
I want to plot a network using tubes and glyphs. I generated the test file
object 1 class array type float rank 1 shape 2 items 3 data follows
0.0 0.0
0.5 0.0
1.0 0.0
object 3 class array type int rank 1 shape 2 items 2 data follows
0 1
1 2
attribute "element type" string "lines"
attribute "ref" string "positions"
object "line-part" class field
component "positions" value 1
component "connections" value 3
end
and tried:
dx -script
data = Import("image-graph-1d.dx");
connections = ShowConnections(data);
positions = ShowPositions(data);
glyphs = AutoGlyph(positions);
tubes = Tube(connections, 0.02);
all = Collect(tubes,glyphs);
camera = AutoCamera(all);
image = Render(all, camera);
Display (image);
This more or less works, but it seems that the size of the glyphs can only
be determined by data, while I would like to change it independent of data.
Is that possible?
Thank you, Nicolas.
- [opendx-users] changing size of glyphs Nicolas Neuss
- Re: [opendx-users] changing size of glyphs Bodo Ritter
- Re: [opendx-users] changing size of glyphs Gregory D Abram
- Re: [opendx-users] changing size of glyphs Nicolas Neuss
