Ignore:
Timestamp:
08/04/10 12:44:55 (6 years ago)
Author:
mmckerns
Message:

marker toggleable on log_reader; all=False is default on Sows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/multilogger/log_reader.py

    r352 r372  
    11import sys 
     2if '--dots' in sys.argv: 
     3  mark = 'o' 
     4  sys.argv.remove('--dots') 
     5else: 
     6  mark = '' 
     7 
    28try: 
    39  filename = sys.argv[1] 
     
    8187  for i in range(len(conv)): 
    8288    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) 
    8490plt.legend() 
    8591 
     
    8793for i in range(len(conv)): 
    8894  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) 
    9096plt.legend() 
    9197 
Note: See TracChangeset for help on using the changeset viewer.