X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=files%2Fmatplotlib_hist.py;h=168195b3a692dcbce2234b7dda7b71665909cd55;hb=35ecdb6a53c194ab3f2809f3ad9e635a999feb01;hp=f8a1105f0b2ef716594bb901f5f8caffb40e4a67;hpb=633e6ce55fd8ea49c4c07f93be9dc30b9e11e229;p=django_unres.git diff --git a/files/matplotlib_hist.py b/files/matplotlib_hist.py index f8a1105..168195b 100755 --- a/files/matplotlib_hist.py +++ b/files/matplotlib_hist.py @@ -62,7 +62,9 @@ plt.ylabel('bath temperature [K]') plt.xlabel('step*replica') replica=range(int(sys.argv[2])) -colors = cm.rainbow(np.linspace(0, 1, len(replica))) +#colors = cm.rainbow(np.linspace(0, 1, len(replica))) +cmap = plt.get_cmap('hot') +colors = cmap(np.linspace(0, 1, len(replica)*1.4)) for i,c in zip(replica,colors): yt=x0[r0==i] xt=(s0+r0*max(s0))[r0==i]