5 Element.ScaleSymbols true
6 Font { Courier 18 bold}
8 Legend.ActiveRelief raised
9 Legend.Font { Courier 14 }
11 Title "Element Symbol Types"
14 set resName [string trimleft $graph .]
15 foreach { option value } $configOptions {
16 option add *$resName.$option $value
21 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
24 for { set i 0 } { $i < 10 } { incr i } {
26 vector create ${vecName}(10)
28 set x(:) [expr $i*50.0+10.0]
32 none "None" red red4 y0
33 circle "Circle" yellow yellow4 y2
34 cross "Cross" cyan cyan4 y6
35 diamond "Diamond" green green4 y3
36 plus "Plus" magenta magenta4 y9
37 splus "Splus" Purple purple4 y7
38 scross "Scross" red red4 y8
39 square "Square" orange orange4 y1
40 triangle "Triangle" blue blue4 y4
41 "@bitmaps/hobbes.xbm @bitmaps/hobbes_mask.xbm"
42 "Bitmap" yellow black y5
46 foreach { symbol label fill color yVec } $attributes {
47 $graph element create line${count} \
56 $graph element configure line0 \
62 Blt_ActiveLegend $graph
63 Blt_ClosestPoint $graph