Difference between revisions of "Graphing"

From IARC 207 Wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
To run:
 
To run:
  $ python graph.py -cd4 ./ADOT/dot_win.ini ./ADOT/graphs2.ini
+
  $ 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):
 +
# Options (see below)
 +
# .ini file used by [[GP |gp.py]]
 +
# .ini file used by [[Graphing | 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)

Revision as of 16:26, 10 September 2008

Some initial stuff for starting out.... 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

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)