compass(x,y);
How can I fix that 2.5 in this image to say 10.

Here's a workaround: First add a line of constant radius with the limit you want to have and then make it invisible:
Z = eig(randn(20,20));
h = compass(10 * ones(size(Z)));
set(h, 'Visible', 'off')
then add the data you actually want to plot:
hold on
compass(Z)

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With