MathGroup Archive 2007

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

Search the Archive

Re: Graphing an inequality


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?