Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

ljrb, now with hipster graphs

./graph -d ../../evan.db -o graph.png --smooth=3 -m security --normalize --start 2004-01-01 --geom 600x450


% ./graph --help
usage: graph [options] [modeparam [modeparam ...]]
    -d, --db=FILE                    database (required)
    -o, --out=FILENAME.PNG           output file (required)
    -g, --geom=WxH                   output geometry
        --smooth=N                   merge every set of n consecutive datapoints
        --normalize                  normalize relative to entry counts
        --start=TIME                 start time
        --end=TIME                   end time
    -m, --mode=MODE                  mode (required) one of {tags, security}
Tags: livejournal, ljrb, project, ruby
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 23 comments