MATLAB Answers

Removing Zero Vectors in Quiver

2 ビュー (過去 30 日間)
William
William 2011 年 7 月 12 日
回答済み: Veera Kanmani 2018 年 4 月 20 日
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 日
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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by