%% Specify Arrow Color
% Create a quiver plot and specify a color for the arrows.

[X,Y] = meshgrid(-pi:pi/8:pi,-pi:pi/8:pi);
U = sin(Y);
V = cos(X);
quiver(X,Y,U,V,'r')

% Copyright 2020 The MathWorks, Inc.