Changeset 3017 for branches/blt4/builder/scripts/templates/ruby.tl
- Timestamp:
- May 25, 2012 8:14:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/builder/scripts/templates/ruby.tl
r2170 r3017 79 79 code "\n# save output value for $path" 80 80 code "# this shows just one point -- modify as needed" 81 code "# (x, h,w) = x-coord, height of bar, and width of bar (optional)"82 code "str = sprintf(\"%g %g %g\\n\", x, h, w)"81 code "# (x,y) = x-label, y-coordinate is height of bar" 82 code "str = sprintf(\"%g %g %g\\n\", x, y)" 83 83 code "io.put(\"$path.component.xhw\", str, Rappture::APPEND)" 84 84 }
Note: See TracChangeset
for help on using the changeset viewer.