How to overlay vectors that are centered at particular pixel locations

I have a dataset for which I know a vector quantity for particular (x,y) locations in a 2-d image. Is there a way to overlay a vector map with the vectors centered at given (x,y) locations? I've tried using the quiver function, but it uses the origin of the vector, not the center.

 채택된 답변

Chad Greene
Chad Greene 2014년 8월 18일

1 개 추천

If your vector data are gridded, ncquiverref does it nicely.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Vector Fields에 대해 자세히 알아보기

질문:

2014년 8월 18일

답변:

2014년 8월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by