Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "Filling areas in a plot"

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

Url (optional):
Subject:
Message: view original message?
Attachment (optional):
Please answer this:1+8 =



Original Message (ID '121074') By Peter Pein:
Hi, how about combinig two plots? Show[ {Plot[{Tan[x], -1, 1}, {x, -Pi, Pi}, Exclusions -> {-1, 1} Pi/2, PlotRange -> {-3, 3}, PlotStyle -> {Blue, None, None}, Filling -> {2 -> {{3}, Yellow}}], Plot[Tan[x], {x, -Pi, Pi}, Exclusions -> {-1, 1} Pi/2, PlotRange -> {-1, 1}, Filling -> {1 -> {0, Lighter@Red}}, PlotStyle -> Blue]}]