Hi guys,
I have prepared a plot and ı am using grid on function in the script but when ı run the program plot's lines looks rectangular. Hence, cirle looks eliptic I don't want that,
How can ı adjust rectangular gridlines to square gridlines when ı run the program ?
thanks

 채택된 답변

Geoff Hayes
Geoff Hayes 2020년 5월 19일

0 개 추천

Ugur - it could be that your axes do not have the same data unit lengths. Try using
axis equal
to ensure the same spacing on each axis. See Set axis limits and aspect ratios for details.

추가 답변 (1개)

Ashok Kumar
Ashok Kumar 2025년 3월 6일

0 개 추천

axis equal
axis square

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2020년 5월 19일

답변:

2025년 3월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by