subplot(2,1,1)
plot(t,Tmax,'r',t,Tmin,'b',t,T,'g')
xlabel('m')
ylabel('y')
legend('hjf','tgyt')
title('hgfreddrturu')
grid
subplot(2,1,2)
plot(t,Prec,'c-s')
