Plot Wind Direction versus Wind Speed
PLOTWINDIRVEL can be used to plot wind direction versus wind velocity (read strength) on a compass plot.
I have included two scripts to show you how to use the function. If you run the first script make sure the datafile is co-resident with the two MATLAB-files. Here is a snippet from the second script:
[a,b] = plotWinDirVel(wdir,knots, ...
{'Wind Direction and Strength ...(zero degrees is true North)'});
You may need to vertically stretch the plots a little to reveal the heading. There is probably a better way to position the heading so feel free to offer suggestions.
Cite As
Bruce Raine (2024). Plot Wind Direction versus Wind Speed (https://www.mathworks.com/matlabcentral/fileexchange/34425-plot-wind-direction-versus-wind-speed), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
- Aerospace and Defense > Aerospace Blockset > Visualization > Flight Instruments >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |