Try this:

ElbartoCode:n = 20;%resolution T=linspace(70,320,n) ; v= linspace(0,1000,n) ; [TT vv] = meshgrid(T,v); P = 4.*pi.*(.032./2.*pi.*8.31.*TT).^(3./2).*vv.^2.*exp((-.032.*vv.^2)./(2.*8.31.*TT)); surf(TT,vv,P) xlabel T ylabel v zlabel P grid on