Removing Zero Vectors in Quiver

Hello,
I'm plotting a vector field using quiver and have a problem very similar to the one here: http://www.mathworks.com/matlabcentral/answers/8787-how-to-plot-a-2d-vector-field-and-exclude-zero-vectors-dots-in-the-graph
That is, I have a lot of dots for zero vectors that I'd like to switch off. I have tried changing the zeros to NaN and to logical zeros (falses), but I'm still getting dots.
Does anyone know a general way to get quiver to stop the drawing dots for zero vectors?
Thanks your time and assistance, Will

1 件のコメント

Oleg Komarov
Oleg Komarov 2011 年 7 月 12 日
And why the solution/link you posted doesn't work for you?

サインインしてコメントする。

回答 (1 件)

Veera Kanmani
Veera Kanmani 2018 年 4 月 20 日

0 投票

https://in.mathworks.com/matlabcentral/answers/162761-quiver-plot-need-help-to-remove-nan
https://in.mathworks.com/matlabcentral/answers/11484-removing-zero-vectors-in-quiver

カテゴリ

ヘルプ センター および File ExchangeVector Fields についてさらに検索

製品

質問済み:

2011 年 7 月 12 日

回答済み:

2018 年 4 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by