Mercurial > repos > tyty > structurefold
comparison predict/rtts_plot.py @ 67:96a827962750 draft
Uploaded updated scripts, removed *.pyc and .DS_Store
author | devteam |
---|---|
date | Fri, 21 Nov 2014 11:28:59 -0500 |
parents | afd114ef8857 |
children |
comparison
equal
deleted
inserted
replaced
66:d2817a631a7b | 67:96a827962750 |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 #Make a plot of reactivity distribution | 2 #Make a plot of reactivity distribution |
3 | 3 |
4 import sys | 4 import sys |
5 import os | |
5 import numpy as np | 6 import numpy as np |
6 import matplotlib | 7 import matplotlib |
7 from pylab import * | 8 from pylab import * |
8 import math | 9 import math |
9 | 10 |
44 ax.set_xticks(np.arange(0,upmax,intervel*tail)) | 45 ax.set_xticks(np.arange(0,upmax,intervel*tail)) |
45 print(np.arange(0,upmax,intervel*tail)) | 46 print(np.arange(0,upmax,intervel*tail)) |
46 ax.set_xticklabels(np.arange(0,upmax,intervel*tail)) | 47 ax.set_xticklabels(np.arange(0,upmax,intervel*tail)) |
47 | 48 |
48 ax.set_title(id_s+" reactivity distribution") | 49 ax.set_title(id_s+" reactivity distribution") |
49 savefig(path+id_s+'.tif') | 50 savefig(os.path.join(path, id_s+'.tif')) |
50 | 51 |
51 | 52 |
52 | 53 |
53 | 54 |
54 | 55 |