Showing
3 changed files
with
10 additions
and
5 deletions
... | @@ -114,15 +114,15 @@ if __name__ == '__main__': | ... | @@ -114,15 +114,15 @@ if __name__ == '__main__': |
114 | imageName = str(options.figureName) + '_' + str(options.version) | 114 | imageName = str(options.figureName) + '_' + str(options.version) |
115 | fig = plt.figure() | 115 | fig = plt.figure() |
116 | plt.rcParams.update({'font.size': 15}) | 116 | plt.rcParams.update({'font.size': 15}) |
117 | - #fig.set_figheight(13) | 117 | + fig.set_figheight(13) |
118 | - #fig.set_figwidth(20) | 118 | + fig.set_figwidth(20) |
119 | plt.xlabel("Runs") | 119 | plt.xlabel("Runs") |
120 | plt.ylabel("score") | 120 | plt.ylabel("score") |
121 | plt.ylim(-0.2, 1.2) | 121 | plt.ylim(-0.2, 1.2) |
122 | - lines=['-', '--', '-.', ':', ',', 'o', 'v', '^', '<', '>', '1', '2', '3', '4', 's', 'p', '*', 'h', 'H', '+', 'x', 'D', 'd', '|', '_'] | 122 | + #lines=['-', '--', '-.', ':', ',', 'o', 'v', '^', '<', '>', '1', '2', '3', '4', 's', 'p', '*', 'h', 'H', '+', 'x', 'D', 'd', '|', '_'] |
123 | + lines = [ 'r--', 'rs', 'r^', 'r:', 'rH', 'g--', 'gs', 'g^', 'g|', 'gH' , 'b--', 'bs', 'b^', 'b|', 'bH', 'r+'] | ||
123 | for i,k in enumerate(tags.keys()): | 124 | for i,k in enumerate(tags.keys()): |
124 | - plt.grid(False) | 125 | + plt.grid(False) |
125 | - | ||
126 | plt.plot(precision[k], lines[i], label=k, linewidth=8) | 126 | plt.plot(precision[k], lines[i], label=k, linewidth=8) |
127 | plt.legend(loc='lower right') | 127 | plt.legend(loc='lower right') |
128 | plt.tight_layout() | 128 | plt.tight_layout() | ... | ... |
-
Please register or login to post a comment