Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations Danlap on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to plot area x1+x2>=3 in 2D...

Status
Not open for further replies.

Jacklon

Computer
Aug 4, 2008
1
Hello!
I'm fighting with optimization methods and one of my requirements are dependencies (I don't know if this is the right word). For example from all the optimum points that has been found I can only accept ones in area of:
x1*x2<=1
x1+x2>=0
I need to plot those areas including found points. One thing that's missing right now are those areas. I know to use "hold on" command for another plot, I just don't know how to plot it.
On my axes are: OX -> x1, OY -> x2 and everything is in 2D. I thought about drawing just function x1*x2=1 instead of x1*x2<=1 but I'm not exactly sure either how to do that.

Many thanks for any suggestions
Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor