added t-openmp.py
This commit is contained in:
parent
69434a5bc2
commit
2141719076
6 changed files with 116 additions and 6 deletions
|
|
@ -5,10 +5,11 @@ import sys
|
|||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) < 3:
|
||||
print 'Usage: boxplot.py [Results files, ...] [output file in .png]'
|
||||
print 'Usage: boxplot_to_png.py [Results files, ...] [output file in .png]'
|
||||
sys.exit()
|
||||
|
||||
for i in range(1, len(sys.argv) - 1):
|
||||
pylab.boxplot( [ [ float(value) for value in line.split() ] for line in open( sys.argv[i] ).readlines() ] )
|
||||
|
||||
pylab.savefig( sys.argv[ len(sys.argv) - 1 ] )
|
||||
pylab.xlabel('iterations')
|
||||
pylab.savefig( sys.argv[ len(sys.argv) - 1 ], format='png', transparent=True, papertype='a0' )
|
||||
|
|
|
|||
Reference in a new issue