File Exchange

image thumbnail

Quiver plot for scattered data

version 1.0 (2.5 KB) by

Quiver plots directly from scattered data



View License

TRIQUIVER(TRI,X,Y,U,V) plots velocity vectors as arrows with components in U and V at the triangle vertices identified by the triangulated data given by TRI, X, and Y. U and V must have as many elements as X and Y.

Comments and Ratings (4)


SL (view profile)

The basic example does not work in Matlab 2016a. You need the package apparently Mick's trigradient function as a dependency. I get the error `Error using horzcat Dimensions of matrices being concatenated are not consistent.` Mick's trigradient: Otherwise, it seems to be a well written code.

Can this code be used to reconstruct the orientation field of the ridges in a fingerprint???............

Sorry R, but I do not respond to anonymous comments.


R (view profile)

Thank you very much for your submission. In your example the magnitude of the gradient and trigradient seem to differ. Presumably, it is due to vector scaling. Could you elaborate on this? Accurate scaling is essential of course.

MATLAB Release
MATLAB 7 (R14)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video