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 commentaire

Oleg Komarov
Oleg Komarov le 12 Juil 2011
And why the solution/link you posted doesn't work for you?

Connectez-vous pour commenter.

Réponses (1)

Veera Kanmani
Veera Kanmani le 20 Avr 2018

0 votes

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

Catégories

En savoir plus sur Vector Fields dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by