diff options
| author | Holden Rohrer <hr@hrhr.dev> | 2021-01-21 13:58:45 -0500 |
|---|---|---|
| committer | Holden Rohrer <hr@hrhr.dev> | 2021-01-21 13:58:45 -0500 |
| commit | 0bface897743f4bed9035d00ae0e0b032d689a64 (patch) | |
| tree | e5e97160af23a0eac90cfdd4201e9930da5eaa92 /py/deathtable2.py | |
| parent | 1901753f1555beae9acf4cd65c3c3306ffa293ec (diff) | |
made graphs and tables a little more accurate
Diffstat (limited to 'py/deathtable2.py')
| -rw-r--r-- | py/deathtable2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py/deathtable2.py b/py/deathtable2.py index ec0f171..86fe5f8 100644 --- a/py/deathtable2.py +++ b/py/deathtable2.py @@ -7,6 +7,6 @@ Nearest Neighbor (avg) & Width (avg) & Depth (avg)\\cr\\tabrule') for trial in trials: print('& '.join(['$'+'\\times'.join([str(el) for el in trial.size])+'$', fancy[trial.method], str(trial.recl), str(trial.dead), - str(len(trial.pits)), '%.2f' % mean(trial.nearest_neighbor()), - '%.2f' % mean([pit.diam for pit in trial.pits]), - '%.2f' % mean([pit.depth for pit in trial.pits])])+'\\cr\\tabrule') + str(len(trial.pits)), '%.2fin' % mean(trial.nearest_neighbor()), + '%.2fcm' % mean([pit.diam for pit in trial.pits]), + '%.2fcm' % mean([pit.depth for pit in trial.pits])])+'\\cr\\tabrule') |
