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
인용 양식
Yoav Romach (2025). quiverInLogScale (https://www.mathworks.com/matlabcentral/fileexchange/69109-quiverinlogscale), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0 |