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.