Shading a bounded boundaries

Hi,

Does any one know how to shade the feasible domain in the image attached?

Thanks in advance.

답변 (2개)

Image Analyst
Image Analyst 2013년 11월 25일

0 개 추천

Try patch() or fill().

댓글 수: 2

Chin Wei
Chin Wei 2013년 11월 25일
Do you have the code please? I have tried fill() for the case where there are two intersections between the curves. Thank you.
Image Analyst
Image Analyst 2013년 11월 25일
No, I don't have it. Sounds like you have it.

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

Alan Weiss
Alan Weiss 2013년 11월 25일

0 개 추천

Perhaps the figure at the botttom of this page is similar to what you are after. You can follow the code in there, and after you have generated a nice-looking plot, have Plot Tools generate code for you.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

태그

질문:

2013년 11월 25일

답변:

2013년 11월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by