Changeset 372 for branches/multilogger/log_reader.py
- Timestamp:
- 08/04/10 12:44:55 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/multilogger/log_reader.py
r352 r372 1 1 import sys 2 if '--dots' in sys.argv: 3 mark = 'o' 4 sys.argv.remove('--dots') 5 else: 6 mark = '' 7 2 8 try: 3 9 filename = sys.argv[1] … … 81 87 for i in range(len(conv)): 82 88 tag = "%d,%d" % (i,j) 83 ax1.plot(iter_conv[i],conv[i][j],label="%s" % tag,marker= 'o')89 ax1.plot(iter_conv[i],conv[i][j],label="%s" % tag,marker=mark) 84 90 plt.legend() 85 91 … … 87 93 for i in range(len(conv)): 88 94 tag = "%d" % i 89 ax2.plot(iter_conv[i],cost_conv[i],label='cost %s' % tag,marker= 'o')95 ax2.plot(iter_conv[i],cost_conv[i],label='cost %s' % tag,marker=mark) 90 96 plt.legend() 91 97
Note: See TracChangeset
for help on using the changeset viewer.