projects
/
unres.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ctest UNRES_M_MD_microcanonical ene tol 6.0
[unres.git]
/
ctest
/
matplotlib_plot.py
1
#! /usr/bin/env python2
2
3
import matplotlib
4
#matplotlib.use('GTK')
5
matplotlib.use('Agg')
6
import matplotlib.pyplot as plt
7
import numpy as np
8
import sys
9
10
x,y= np.loadtxt(sys.argv[1],usecols=(0,4),skiprows=1,unpack=True)
11
12
plt.plot(x,y,'-',c='red')
13
plt.ylabel('total energy')
14
plt.xlabel('step')
15
16
plt.savefig(sys.argv[1]+'_ene.png')