From c7b48885def36f3965be91c76ec1f54a5d9bf27a Mon Sep 17 00:00:00 2001 From: Jon Whiteaker Date: Sun, 4 Mar 2012 23:28:43 -0800 Subject: updated back graph --- data/combined/graphs/plots.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'data/combined/graphs/plots.py') 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") -- cgit v1.2.3-70-g09d2