%% Specify Appearance of One Arrow
% Specify the line width and color of a single arrow by assigning the arrow to a variable and then setting its properties. To do this, first create a compass plot and return an array of Line objects.

u = [3 5 -4 -3 5];
v = [5 1 3 -2 -6];
c = compass(u,v);

% Assign the first arrow to a variable. The first arrow corresponds to the first elements of u and v. Then, change the line width and color.

c1 = c(1);
c1.LineWidth = 2;
c1.Color = 'r';

% Copyright 2020 The MathWorks, Inc.