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 (2024). Plot Wind Direction versus Wind Speed (https://www.mathworks.com/matlabcentral/fileexchange/34425-plot-wind-direction-versus-wind-speed), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
- Aerospace > 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!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 |