MathGroup Archive 2012

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

Search the Archive

Re: Filling area between curves


The option you need is Filling. Check the documentation for similar examples:

F[x_] := -1 + 4 x - x^2
G[x_] := Piecewise[{{2 - x, x < 2}, {-2 + x, x >= 2}}, 0];
Plot[{G[x], F[x]}, {x, 0, 5}, 
 Filling -> {1 -> {{2}, {LightGray, White}}}, PlotRange -> {0, 3}]

Themis



  • Prev by Date: Re: Funny Behavior of Module
  • Next by Date: Mathematica 8 - kernel hangs
  • Previous by thread: Re: Filling area between curves
  • Next by thread: creation of date list