Re: Graphing sets of linear inequalities

*To*: mathgroup at smc.vnet.net*Subject*: [mg53961] Re: Graphing sets of linear inequalities*From*: Helen Read <read at math.uvm.edu>*Date*: Sat, 5 Feb 2005 03:15:39 -0500 (EST)*Organization*: EM Computer Facility, The University of Vermont*References*: <ctvfhb$19v$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

DJ Craig wrote: > How do you graph something like this: > -2 = x + 2y = 4 > I need the areas where this is true to be shaded, and solid lines at x > + 2y = -2 and x + 2y = 4. Assuming you mean -2 <= x+2y <= 4, try this. << Graphics`InequalityGraphics` InequalityPlot[-2 <= x + 2y <= 4, {x, -5, 5}, {y, -5, 5}] -- Helen Read University of Vermont