quiverInLogScale
Normally when using quiver, the arrows' size change linearly with the data. However, sometimes the data will appear more naturally in a logarithmic scale, and plotting this is not possible using matlab builtin function. Simply adding a "log" on the velocity data would not work, as it would screw up the angles.
This file rescales the velocity data to be logarithmic, which maintaining the angles between the data points.
Based on this thread:
https://www.mathworks.com/matlabcentral/answers/271952-how-to-create-a-quiver-plot-with-logarithmic-scaled-arrows
Citation pour cette source
Yoav Romach (2024). quiverInLogScale (https://www.mathworks.com/matlabcentral/fileexchange/69109-quiverinlogscale), 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 >
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 |