Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8350 > unrolled thread
| Started by | Themis Matsoukas <tmatsoukas@me.com> |
|---|---|
| First post | 2012-02-05 11:02 +0000 |
| Last post | 2012-02-05 11:02 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Filling area between curves Themis Matsoukas <tmatsoukas@me.com> - 2012-02-05 11:02 +0000
| From | Themis Matsoukas <tmatsoukas@me.com> |
|---|---|
| Date | 2012-02-05 11:02 +0000 |
| Subject | Re: Filling area between curves |
| Message-ID | <jglnl0$2bo$1@smc.vnet.net> |
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
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web