Shading a bounded boundaries

Hi,

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

Thanks in advance.

Antworten (2)

Image Analyst
Image Analyst am 25 Nov. 2013

0 Stimmen

Try patch() or fill().

2 Kommentare

Chin Wei
Chin Wei am 25 Nov. 2013
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 am 25 Nov. 2013
No, I don't have it. Sounds like you have it.

Melden Sie sich an, um zu kommentieren.

Alan Weiss
Alan Weiss am 25 Nov. 2013

0 Stimmen

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

Tags

Gefragt:

am 25 Nov. 2013

Beantwortet:

am 25 Nov. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by