image thumbnail

Wind barb plotter

version (2.91 KB) by Nicholas
Plots wind barbs (in knots) using Matlab's mapping toolbox.


Updated 28 Nov 2011

View License

%WINDBARBM Project wind barbs onto map axes
% WINDBARBM(lat,lon,u,v) projects two dimensional wind barbs onto the
% current map axes. The vector components (u,v) are in units of knots and
% are specified at the points (lat,lon). It handles winds up to 130 knots.
% Winds exceeding 130 knots will appear as 130 knots.
% WINDBARBM(lat,lon,u,v,s) uses the input s to scale the vectors after
% they have been automatically scaled to fit within the grid. If omitted,
% s = 0.9 is assumed.
% WINDBARBM(lat,lon,u,v,'PropertyName',PropertyValue,...) and
% WINDBARBM(lat,lon,u,v,s,'PropertyName',PropertyValue,...) uses the
% windbarbm object properties specified to display the windbarb objects.
% The properties supported by windbarbm are the same as the properties
% supported by linem.
% MFILE: windbarbm.m
% MATLAB: 7.8.0 (R2009a)
% VERSION: 1.3 (28 November 2011)
% AUTHOR: Nick Siler

Cite As

Nicholas (2021). Wind barb plotter (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Skew-T log-p Diagrams

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!