Query regarding Quiver plot
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
I have data (distance, frequency, arrow amplitude and direction) at several stations along a profile. I want to make induction arrows pseudosection (Distance vs frequency and corresponding arrow behaviour). I used quiver command in matlab. Here, my y axis in log scale and x axis is normal. I am unable get arrows in a proper manner. Kindly guide me.
Thanking you
Vijay
0 个评论
回答(1 个)
KSSV
2022-6-15
u = amplitude.*cos(direction) ; % be cautious of units of direction/ angle
v = amplitude.*sin(direction) ;
quiver(distance, frequency, u,v)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vector Fields 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!