MathGroup Archive 1997

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

Search the Archive

Re: Graphing Inequalities

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9830] Re: Graphing Inequalities
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Fri, 28 Nov 1997 05:35:43 -0500
  • Organization: University of Western Australia
  • Sender: owner-wri-mathgroup at wolfram.com

decker, mark a wrote:

> This seems like quite a straight forward issue, but I could not find it
> in the bible, std add-ons or Mathsource.
> 
> Is there a simple way to plot inequalities in 2d (and 3d)?
> 
> I would simply like the solution region to be shaded.

Graphics`FilledPlot` goes a long way to doing what you want (in 2D).

> Example:
> 
> Plot[ y > x && y < x^2, {x, 0, 5} ]

FilledPlot[{x, x^2}, {x, 0, 5}]; 

Cheers,
	Paul 

____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia            Nedlands WA  6907       
mailto:paul at physics.uwa.edu.au  AUSTRALIA                            
http://www.pd.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________


  • Prev by Date: Re: Merging InterpolatingFunctions
  • Next by Date: Re: Ray-tracing with CorelDream3d?
  • Previous by thread: Re: Graphing Inequalities
  • Next by thread: StoppingTest does not work ?