I make a quiver plot :
[x,y] = meshgrid(0:0.2:2,0:0.2:2); u = cos(x).*y; v = sin(x).*y; figure quiver(x,y,u,v)
I want the arrowheads to be full (i.e.
, but not
)
From the documentation, this should be pretty simple using
quiver(...,LineSpec,'filled')
However, I still could not understand the correct syntax - they do not work:
quiver(x,y,u,v,'LineWidth','filled'); quiver(x,y,u,v,'LineWidth',1,'filled');
Thank you for your help!
edit: Using string qualifiers does the following:
quiver(x,y,u,v) %Original

quiver(x,y,u,v,'-sk','filled') %With line specifiers

matlab plot
Ohad dan
source share