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
endand tried:
dx -script
data = ""
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.
Use Glyph, instead of Autoglyph and set the ratio between
the smallest and largest glyph to 1.0. This creates uniformed
size glyphs. The size itself is then determined by the scaleparameter of glyph.Bodo-- Adress: Bodo Ritter c/o Deutscher Wetterdienst Postfach 100465 63004 Offenbach/Main Tel. : +49-69-8062-2703 Fax : +49-69-8062-3721 email : [EMAIL PROTECTED]
