Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: Re: Rudimentary Spell Checker
  • Next by Date: System Modelling with Mathematica
  • Previous by thread: How can I plot the region satisfying an inequality?
  • Next by thread: Re: How can I plot the region satisfying an inequality?