[y,z] = meshgrid(-2:.5:2,-2:.5:2);
x=zeros(size(y));
u=2*ones(size(x));
v=zeros(size(y));
w=zeros(size(z));
quiver3(x,y,z,u,v,w)
hold on
surf(x,y,z)
axis([0 2 -2 2 -2 2])
xlabel('x')
ylabel('y')
zlabel('z')