Created
December 9, 2014 05:57
-
-
Save RDharmaTeja/b2b3e59bba8c19f6469a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function drawPlot(boxWidth,boxHeight,overLap) | |
[X,Y]=main(boxWidth,boxHeight,overLap); | |
p=1; | |
q=1; | |
for i=1:(1-overLap)*boxWidth:512-(overLap)*boxWidth | |
for j=1:(1-overLap)*boxWidth:512-(overLap)*boxHeight | |
x=i+(boxWidth*0); | |
y=j+(boxWidth*0); | |
u=X(p,q); | |
v=Y(p,q); | |
h=quiver(x,y,u,v,6); | |
set(h,'linewidth',1); | |
set(h,'MaxHeadSize',3); | |
%adjust_quiver_arrowhead_size(h, 1.5); | |
if i==1&&j==1 | |
hold | |
end | |
q=q+1; | |
end | |
q=1; | |
p=p+1; | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment