matplot,math,numpy rationalitation