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
Cite As
Yoav Romach (2024). quiverInLogScale (https://www.mathworks.com/matlabcentral/fileexchange/69109-quiverinlogscale), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |