summaryrefslogtreecommitdiffstats
path: root/data/combined/graphs/plots.py
diff options
context:
space:
mode:
authorJon Whiteaker <jbw@berkeley.edu>2012-03-04 23:28:43 -0800
committerJon Whiteaker <jbw@berkeley.edu>2012-03-04 23:28:43 -0800
commitc7b48885def36f3965be91c76ec1f54a5d9bf27a (patch)
tree27b381eac763183a1dcb56be744262efb05c4d52 /data/combined/graphs/plots.py
parentce1e137062f54ebdef0830551be0116ba2e13491 (diff)
downloadkinect-c7b48885def36f3965be91c76ec1f54a5d9bf27a.tar.gz
updated back graph
Diffstat (limited to 'data/combined/graphs/plots.py')
-rwxr-xr-xdata/combined/graphs/plots.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/combined/graphs/plots.py b/data/combined/graphs/plots.py
index a4b01f3..31e9638 100755
--- a/data/combined/graphs/plots.py
+++ b/data/combined/graphs/plots.py
@@ -118,11 +118,11 @@ plt.savefig(os.path.join(out_dir,"face.pdf"),bbox_inches="tight",pad_inches=0.05
#back
plt.figure()
x,y = np.loadtxt("back_all_sht_on.mat",unpack=True)
-a,b = np.loadtxt("all_sht_on.mat",unpack=True)
+a,b = np.loadtxt("all_sht_off.mat",unpack=True)
c,d = np.loadtxt("front_back_all_sht.mat",unpack=True)
-plt.plot(100*a,100*b,label="Train/test toward")
-plt.plot(100*x,100*y,label="Train/test away")
-plt.plot(100*c,100*d,label="Train toward test away")
+plt.plot(100*a,100*b,label="Toward")
+plt.plot(100*x,100*y,label="Away")
+plt.plot(100*c,100*d,label="Combined")
plt.xlabel("Recall [%]")
plt.ylabel("Precision [%]")
leg = plt.legend(loc="best")