.. _docs-meteoinfolab-funcitons-plot-quiver: ******************* quiver ******************* .. currentmodule:: mipylib.plotlib.miplot .. function:: quiver(*args, **kwargs) Plot a 2-D field of arrows. :param x: (*array_like*) Optional. X coordinate array. :param y: (*array_like*) Optional. Y coordinate array. :param u: (*array_like*) U component of the arrow vectors (wind field) or wind direction. :param v: (*array_like*) V component of the arrow vectors (wind field) or wind speed. :param z: (*array_like*) Optional, 2-D z value array. :param cmap: (*string*) Color map string. :param fill_value: (*float*) Fill_value. Default is ``-9999.0``. :param isuv: (*boolean*) Is U/V or direction/speed data array pairs. Default is True. :param size: (*float*) Base size of the arrows. :param order: (*int*) Z-order of created layer for display. :returns: (*VectoryLayer*) Created quiver VectoryLayer. **Example:** :: f = addfile('D:/Temp/GrADS/model.ctl') u = f['U'][0,'500','10:60','60:140'] v = f['V'][0,'500','10:60','60:140'] speed = sqrt(u*u+v*v) layer = quiver(u, v, speed, 10, size=8) title('Wind field') colorbar(layer) .. image:: ../../../../_static/quiver.png