From 0bface897743f4bed9035d00ae0e0b032d689a64 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Thu, 21 Jan 2021 13:58:45 -0500
Subject: made graphs and tables a little more accurate
---
py/deathtable2.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'py/deathtable2.py')
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')
--
cgit