matlab grid problem?

조회 수: 5 (최근 30일)
Hyeon Soo Lee
Hyeon Soo Lee 2023년 12월 18일
편집: DGM 2023년 12월 18일
I was trying to make a circle(not ellipse) with a NURBS curve function. I put the neccessary values like this
(order = 3, weighting factor [1 1/√2 1 1/√2 1 1/√2 1 1/√2 1], control points are red dots)
As you can see the image above, the (supposed to be) circle looks like a ellipse and I figured out that the length of the x axis of the grid square is longer than the y axis of it. How can I adjust this so I can make it looks like a circle?

채택된 답변

DGM
DGM 2023년 12월 18일
편집: DGM 2023년 12월 18일
To set the data aspect ratio to unity set
axis equal
You can also check out the other options for the function axis()
  댓글 수: 1
Hyeon Soo Lee
Hyeon Soo Lee 2023년 12월 18일
It works! Thanks a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by