Difference between revisions of "Graphing"

From IARC 207 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
==Overview==
 
==Overview==
Some initial stuff for starting out....
+
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==
 
==Required Packages==
 
Packages required in addition to those required for [[GP]]:<br>
 
Packages required in addition to those required for [[GP]]:<br>
Line 7: Line 8:
 
* Numpy<br><pre>http://pypi.python.org/pypi/numpy/1.1.1</pre>
 
* Numpy<br><pre>http://pypi.python.org/pypi/numpy/1.1.1</pre>
  
 
+
==Program Execution and Background==
 
To run:
 
To run:
 
  $ python graph.py -cd4 ./ADOT/dot.ini ./ADOT/graphs2.ini
 
  $ python graph.py -cd4 ./ADOT/dot.ini ./ADOT/graphs2.ini

Revision as of 18:20, 10 September 2008

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)