Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8350 > unrolled thread

Re: Filling area between curves

Started byThemis Matsoukas <tmatsoukas@me.com>
First post2012-02-05 11:02 +0000
Last post2012-02-05 11:02 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Filling area between curves Themis Matsoukas <tmatsoukas@me.com> - 2012-02-05 11:02 +0000

#8350 — Re: Filling area between curves

FromThemis Matsoukas <tmatsoukas@me.com>
Date2012-02-05 11:02 +0000
SubjectRe: 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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web