v = [1;-11];
v = v/norm(v);

theta = atan2(v(2),v(1))

clf
h = line([0 0;v(1) -v(1)+1],[0 0; v(2) -v(2)+1],'Color',[0 0 1])
axis([-1 1 -1 1])
get(h)