X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=files%2Fmatplotlib_hist.py;h=6bf943f5c4dd7c467345bcff5268e4bb624aa176;hb=6fb77f4e05910e0a6682df3f0bbc72af8776988d;hp=36b55aa7a0408306e34e1bfa9d24b50a12d01f44;hpb=74300ec774f0a69c09ac7c7fa2ade110b2c3e341;p=django_unres.git diff --git a/files/matplotlib_hist.py b/files/matplotlib_hist.py index 36b55aa..6bf943f 100755 --- a/files/matplotlib_hist.py +++ b/files/matplotlib_hist.py @@ -92,7 +92,7 @@ if ncolumns==14: yt=rms[r==i] xt=(s+r*max(s))[r==i] tt=x[r==i] - plt.scatter(xt,yt,c=tt,edgecolors='face',s=0.1,cmap=cm.rainbow) + plt.scatter(xt,yt,c=tt,edgecolors='face',s=0.1,cmap=cm.rainbow,vmin=Tremd[0],vmax=Tremd[-1]) plt.xlim(0,max(s)+max(s)*max(r)) plt.savefig('remd_step_rms.png') @@ -102,7 +102,7 @@ x,y,rms= np.loadtxt('file_wham.thermal',usecols=(0,6,4),unpack=True) plt.clf() plt.xlabel('bath temperature [K]') plt.ylabel('heat capacity') -plt.xlim(Tremd[1]-10, Tremd[-1]+10) +plt.xlim(Tremd[0], Tremd[-1]) plt.plot(x,y,'-',color=c) plt.savefig('remd_cv.png')