Ignore:
Timestamp:
May 25, 2012 8:14:09 AM (12 years ago)
Author:
gah
Message:

changes to templates for histogram

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/builder/scripts/templates/ruby.tl

    r2170 r3017  
    7979    code "\n# save output value for $path"
    8080    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)"
    8383    code "io.put(\"$path.component.xhw\", str, Rappture::APPEND)"
    8484  }
Note: See TracChangeset for help on using the changeset viewer.