Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Matlab Fix Compass Axis [closed]

Tags:

matlab

compass(x,y);

How can I fix that 2.5 in this image to say 10.

enter image description here

like image 786
Kiarash Avatar asked Dec 28 '25 09:12

Kiarash


1 Answers

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)

enter image description here

like image 133
bla Avatar answered Dec 30 '25 22:12

bla