projects
/
django_unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remd plot all ex with multiplexing
[django_unres.git]
/
files
/
matplotlib_hist.py
diff --git
a/files/matplotlib_hist.py
b/files/matplotlib_hist.py
index
cf08458
..
7bbf4e9
100755
(executable)
--- a/
files/matplotlib_hist.py
+++ b/
files/matplotlib_hist.py
@@
-59,7
+59,8
@@
plt.clf()
plt.ylabel('bath temperature [K]')
plt.xlabel('step*replica')
-replica=range(len(Tremd))
+replica=range(int(sys.argv[2]))
+colors = cm.rainbow(np.linspace(0, 1, len(replica)))
for i,c in zip(replica,colors):
yt=x[r==i]
xt=(s+r*max(s))[r==i]