Re: How can I plot the region satisfying an inequality?
- To: mathgroup at smc.vnet.net
- Subject: [mg18759] Re: [mg18751] How can I plot the region satisfying an inequality?
- From: BobHanlon at aol.com
- Date: Tue, 20 Jul 1999 01:33:23 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Needs["Algebra`InequalitySolve`"]; Needs["Graphics`FilledPlot`"]; To find the region that satisfies the conditions use InequalitySolve: InequalitySolve[x - y > 0 && x + y < 0, {x, y}] x <= 0 && y < x || x > 0 && y < -x Use FilledPlot to plot the results plt1 = FilledPlot[{x, -10}, {x, -10, 0}, DisplayFunction -> Identity]; plt2 = FilledPlot[{-x, - 10}, {x, 0, 10}, DisplayFunction -> Identity]; Show[{plt1, plt2}, DisplayFunction -> $DisplayFunction]; Bob Hanlon In a message dated 7/17/99 10:23:31 AM, elodger at my-deja.com writes: >Is there a way to plot the region satisfying a set of inequalities, >such as: > >x - y > 0 and >x + y < 0 > >on [-10, 10] >