MathGroup Archive 2007

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

Search the Archive

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



  • Prev by Date: Write documentation for Packages
  • Next by Date: Re: Problems naming files with equation names
  • Previous by thread: Graphing an inequality
  • Next by thread: Re: Graphing an inequality