Commit 0e65dab8 authored by saeed's avatar saeed
Browse files

a bit modification to sshval and taylordiagram

parent 49eeb463
......@@ -192,8 +192,13 @@ def main():
ax.set_ylabel ('SSH(m)',fontsize='20',weight='bold')
for im in range(len(vssh)):
ax.plot(vssh[im],linestyle=cstyle[im],color=ccolor[im],lw=0.75)
if im == 0:
ax.plot(vssh[im],'o-',color=ccolor[im],ms=3)
else:
ax.plot(vssh[im],linestyle=cstyle[im],color=ccolor[im],lw=0.75)
print clegend
print ccolor
ax.legend(clegend, numpoints=1, prop=dict(size='small'),loc="best")
ax.grid()
ax.set_title(station,fontsize="30")
......
......@@ -73,8 +73,8 @@ def TaylorDiagram(RMSVEC, RMSDVEC, CORVEC,COLORVEC,LABELVEC, station, info):
ax.legend(numpoints=1,loc = 'best',prop=dict(size='small'),fontsize=12)
ax.set_title(station+" "+info,fontsize="20")
print "creating "+"taylor"+station+".pdf"
plt.savefig("taylor"+station+".pdf", bbox_inches='tight',dpi=300,facecolor='w',edgecolor='w',orientation='portrait')
print "creating "+"taylor"+station+".png"
plt.savefig("taylor"+station+".png", bbox_inches='tight',dpi=300,facecolor='w',edgecolor='w',orientation='portrait')
plt.close(1)
#############################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment