I have a vector field that is defined in a plane (Z component of position is constand), but vectors are 3D. I have plotted this using quiver3 as below:
[X,Y]