quiverInLogScale

Version 1.0.0 (1.54 KB) by Yoav Romach
Plots matlab quiver with log scaling while maintaining proper arrows directions.
264 Downloads
Updated 15 Oct 2018

View License

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
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Vector Fields in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0