MathGroup Archive 2007

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

Search the Archive

Re: Graphing an inequality

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80251] Re: Graphing an inequality
  • From: Helen Read <hpr at together.net>
  • Date: Wed, 15 Aug 2007 04:29:46 -0400 (EDT)
  • References: <f9s2ar$9c4$1@smc.vnet.net>
  • Reply-to: HPR <read at math.uvm.edu>

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?

RegionPlot[x + y < 4, {x, -10, 10}, {y, -10, 10}, Frame -> False,
  Axes -> True]

-- 
Helen Read
University of Vermont


  • Prev by Date: Re: a problem about NDSolve and NIntegrate
  • Next by Date: Re: Solving finite field equations in Mathematica
  • Previous by thread: Re: Graphing an inequality
  • Next by thread: Printing Settings > Headers and Footers, broken?