Removing Zero Vectors in Quiver

2 views (last 30 days)
William
William on 12 Jul 2011
Answered: Veera Kanmani on 20 Apr 2018
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 Comment
Oleg Komarov
Oleg Komarov on 12 Jul 2011
And why the solution/link you posted doesn't work for you?

Sign in to comment.

Answers (1)

Veera Kanmani
Veera Kanmani on 20 Apr 2018
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

Categories

Find more on Vector Fields in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!