How to transform the below quadrant plot in to a semicircle plot?

 채택된 답변

fill([-1 1 1 -1 ],[0 0 1 1 ],'b')
hold on
w=0:0.1:pi
x=cos(w)
y=sin(w)
plot(x,y,'w','linewidth',6)
h=area(x,y,'facecolor',[1 0 0])

댓글 수: 3

thanks for the reply.
arun kumar
arun kumar 2015년 7월 31일
편집: arun kumar 2015년 7월 31일
Acoording to the code given by you, the mirror image is obtained. I want the two quadrant images to be merged to a single image to get a semicircular portion.
Kindly reply at the earliest

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2015년 7월 31일

편집:

2015년 7월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by