SHARE
TWEET

Untitled

a guest Dec 14th, 2009 206 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;
  2. ;; guile-charting example
  3. ;; http://wingolog.org/software/guile-charting
  4.  
  5. (use-modules (charting))
  6.  
  7. (make-bar-chart "Monthly status for Foo project"
  8.  '( ("January"
  9.       (232 "Download")
  10.       (20 "Upload"))
  11.     ("February"
  12.       (80 "Download")
  13.       (320 "Upload"))
  14.     ("March"
  15.       (130 "Download")
  16.       (150 "Upload"))
  17.   )
  18.  
  19.   #:write-to-png "usage.png"
  20.   #:chart-height 200
  21. )
RAW Paste Data
Top