필터 지우기
필터 지우기

drawcircle function outputs circle or oval by default?

조회 수: 1 (최근 30일)
Adrian Lee
Adrian Lee 2020년 11월 19일
답변: Star Strider 2020년 11월 19일
i am using the drawcircle function in my program, i notice that the circle looks more oval
roi = drawcircle('Center', [3 3], 'Radius', 3); %code used in the program
the output i received looks more of an oval than a circle
is it due to the stretching caused by a rectangular screen?
the output

답변 (1개)

Star Strider
Star Strider 2020년 11월 19일
Use:
axis('equal')
and it magically becomes a circle!
See the documentation on axis for details.

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by