vect¶
- cfplot.vect(u=None, v=None, x=None, y=None, scale=None, stride=None, pts=None, key_length=None, key_label=None, ptype=None, title=None, magmin=None, width=0.02, headwidth=3, headlength=5, headaxislength=4.5, pivot='middle', key_location=[0.95, -0.06], key_show=True, axes=True, xaxis=True, yaxis=True, xticks=None, xticklabels=None, yticks=None, yticklabels=None, xlabel=None, ylabel=None, ylog=False, color='k', zorder=3, titles=None, alpha=1.0)[source]¶
- vect - plot vectorsu=None - u windv=None - v windx=None - x locations of u and vy=None - y locations of u and vscale=None - data units per arrow length unit. A smaller values givesa larger vector. Generally takes one value but in the caseof two supplied values the second vector scaling applies tothe v field.stride=None - plot vector every stride points. Can take two values onefor x and one for y.pts=None - use bilinear interpolation to interpolate vectors onto a newgrid - takes one or two values.If one value is passed then this is used for both the x andy axes.magmin=None - don't plot any vects with less than this magnitude.key_length=None - length of the key. Generally takes one value but inthe case of two supplied values the second vectorscaling applies to the v field.key_label=None - label for the key. Generally takes one value but in thecase of two supplied values the second vector scalingapplies to the v field.key_location=[0.9, -0.06] - location of the vector key relative to theplot in normalised coordinates.key_show=True - draw the key. Set to False if not required.ptype=0 - plot type - not needed for cf fields.0 = no specific plot type,1 = longitude-latitude,2 = latitude - height,3 = longitude - height,4 = latitude - time,5 = longitude - time6 = rotated poletitle=None - plot titlewidth=0.005 - shaft width in arrow units; default is 0.005 times thewidth of the plotheadwidth=3 - head width as multiple of shaft width, default is 3headlength=5 - head length as multiple of shaft width, default is 5headaxislength=4.5 - head length at shaft intersection, default is 4.5pivot='middle' - the part of the arrow that is at the grid point; thearrow rotates about this point takes 'tail', 'middle', 'tip'axes=True - plot x and y axesxaxis=True - plot xaxisyaxis=True - plot y axisxticks=None - xtick positionsxticklabels=None - xtick labelsyticks=None - y tick positionsyticklabels=None - ytick labelsxlabel=None - label for x axisylabel=None - label for y axisylog=False - log y axiscolor='k' - colour for the vectors - default is black.zorder=3 - plotting ordertitles=None - generate dimension and cell_methods titles for plotalpha=1.0 - transparency setting. The default is no transparency.
- Returns:
None