quiver function(vector field)
4 views (last 30 days)
Show older comments
Above is my vector field generated. The arrows are all squeezed together and its very hard to see the arrows clearly. can anyone advise me on how can i make my arrows in my vector field more visible such as the diagram below:?
below are my codes ive used:
clc clf
a=0; b=100; c=0; d=1980;
x0=0; y0=1800;
f=@(x,y)0.30*y.*(1-(y./2500)); A=@(x,y)x-x+1; B=@(x,y)f(x,y); [x y]=meshgrid(0:2:100,0:100:1980)
hold on
quiver(x,y,A(x,y),B(x,y),1,'linewidth',1,'color','blue','linewidth',1)
axis([a b c d])
kindly advise,Thanks!
0 Comments
Answers (1)
Star Strider
on 6 Apr 2015
You can change some of the properties of the arrows. See the documentation on Quiver Series Properties for details. The online documentation (for R2015a) uses the HG2 syntax, but the set function still works (and is the only way to change their properties in versions prior to R2014b).
0 Comments
See Also
Categories
Find more on Vector Fields in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!