quiver function(vector field)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148778/image.jpeg)
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:?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148780/image.jpeg)
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 comentarios
Respuestas (1)
Star Strider
el 6 de Abr. de 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 comentarios
Ver también
Categorías
Más información sobre Vector Fields en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!