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.
Citation pour cette source
Bruce Raine (2026). Plot Wind Direction versus Wind Speed (https://fr.mathworks.com/matlabcentral/fileexchange/34425-plot-wind-direction-versus-wind-speed), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
- Aerospace and Defense > Aerospace Blockset > Visualization > Flight Instruments >
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
