12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

featherPurpose2featherPlot velocity vectorsSyntaxDescriptionfeather(U,V)feather(Z)feather(...,LineSpec)A feather plot displays vectors emanating from equally spaced points along ahorizontal axis. You express the vector components relative to the origin of therespective vector.feather(U,V) displays the vectors specified by U and V, where U contains thex components as relative coordinates, and V contains the y components asrelative coordinates.feather(Z) displays the vectors specified by the complex numbers in Z. Thisis equivalent to feather(real(Z),imag(Z)).feather(...,LineSpec) draws a feather plot using the line type, markersymbol, and color specified by LineSpec.ExamplesCreate a feather plot showing the direction of theta.theta = (–90:10:90)*pi/180;r = 2*ones(size(theta));[u,v] = pol2cart(theta,r);feather(u,v);2-156

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!