Changeset 3959 for branches/blt4/builder/scripts/templates/python.tl
- Timestamp:
- Sep 24, 2013 4:43:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/builder/scripts/templates/python.tl
r3017 r3959 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-201 1 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and … … 85 85 code "\n# save output value for $path" 86 86 code "# this shows just one point -- modify as needed" 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.x y', line, append=1)"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.xhw', line, append=1)" 90 90 } 91 91 output image {
Note: See TracChangeset
for help on using the changeset viewer.