필터 지우기
필터 지우기

Randomly generated complex polygon with user input

조회 수: 1 (최근 30일)
Matthew
Matthew 2013년 4월 5일
I want to generate a randomly shaped complex polygon which has start point (0,0) and has vertices defined by user input.

채택된 답변

Image Analyst
Image Analyst 2013년 4월 5일
How about using ginput() or impoly()?
  댓글 수: 17
Matthew
Matthew 2013년 4월 7일
YES! it works :) thank you. Now I just have to flip it in the x and y axis.
Image Analyst
Image Analyst 2013년 4월 7일
There is an 'xdir' property where you can reverse the direction. I think it's something like
set(gca, 'xdir', 'reverse');
or something like that. If this is solved, then mark the answer as "Accepted."

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by