Changeset 3017 for branches/blt4/builder/scripts/templates/python.tl
- Timestamp:
- May 25, 2012 8:14:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/builder/scripts/templates/python.tl
r2294 r3017 85 85 code "\n# save output value for $path" 86 86 code "# this shows just one point -- modify as needed" 87 code "# (x, h,w) = x-coord, height of bar, and width of bar (optional)"88 code "line = \"% g %g %g\n\" % (x, h, w)"89 code "io.put('$path.component.x hw', line, append=1)"87 code "# (x,y) = x-label, y-coordinate is height of bar" 88 code "line = \"%s %g\n\" % (x, y)" 89 code "io.put('$path.component.xy', line, append=1)" 90 90 } 91 91 output image {
Note: See TracChangeset
for help on using the changeset viewer.