Graphing

From IARC 207 Wiki
Revision as of 12:15, 11 September 2008 by 137.229.92.253 (talk)
Jump to navigation Jump to search

Overview

Graphing is the figure generating portion of the stuff from EEI. This program is quite a bit more complicated than the html exporting utility.

Required Packages

Packages required in addition to those required for GP:

  • ConfigObj
    http://pypi.python.org/packages/2.5/C/ConfigObj
  • MatPlotLib
    http://pypi.python.org/pypi/matplotlib/0.91.4
  • Numpy
    http://pypi.python.org/pypi/numpy/1.1.1

Program Execution and Background

To run:

$ python graph.py -cd4 ./ADOT/dot.ini ./ADOT/graphs2.ini
$ python graph.py -y4 ./ADOT/dot.ini ./ADOT/graphs2.ini
$ python graph.py -d4 -X6 -Y4.5 ./ADOT/dot.ini ./ADOT/graphs2.ini

Command line parameters (case sensitive):

  1. Options (see below)
  2. .ini file used by gp.py
  3. .ini file used by graph.py

Command line options

  • -c for current plus...
  • -d# for days
  • -m# for months
  • -y# for years

Other Choices:

  • -X for X dimension in pixels / 100 (6 is default = 600 pixels wide)
  • -Y for Y dimension in pixels / 100 (4.5 is default = 450 pixels wide)