Posted by: foinme September 27, 2009
Matlab urgent help needed
Login in to Rate this Post:     0       ?        
Hi Nishedh,

I have tried the help tool too. The example used is for a given function and in my case I have data set instead of function. I used the following coding but neither I got the arrowhead for the vectors nor did I see any slope of the vector lines. All I could get was series of vertical lines.

X=data(:,1)
Y=data(:,2)
U=data(:,3)
V=data(:,4)
scale=0.2
figure(1)
quiver(X,Y,U,V, scale)
colormap hsv
Read Full Discussion Thread for this article