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
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