Вы можете использовать команду axis equal
, чтобы установить одинаковые единицы данных на каждой оси. Вот пример:
theta = linspace(0, 2*pi, 100);
subplot(121); % Show the default plot
plot(cos(theta), sin(theta));
title('Default axes settings');
subplot(122); % Show a plot with equal data units
plot(cos(theta), sin(theta));
title('Equalized tick spacing');
axis equal;
