Re: Graphing an inequality
- To: mathgroup at smc.vnet.net
- Subject: [mg80215] Re: Graphing an inequality
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Wed, 15 Aug 2007 04:11:04 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <f9s2ar$9c4$1@smc.vnet.net>
Diana wrote:
> I am trying to graph x + y < 4, and have the answer set be shaded.
>
> When I use RegionPlot[x + y < 4, {x, -10, 10}, {y, -10, 10}]
>
> I get a rectangular box with the axes on the outside.
>
> Is there a way to have the axes display as they do with the Plot
> function, with shading as in the RegionPlot function?
The following will plot the regular axes and no frames.
RegionPlot[x + y < 4, {x, -10, 10}, {y, -10, 10}, Axes -> True,
Frame -> False]
--
Jean-Marc