Plot and filling option
- To: mathgroup at smc.vnet.net
- Subject: [mg94583] Plot and filling option
- From: Pat <pbougette at lameta.univ-montp1.fr>
- Date: Tue, 16 Dec 2008 06:05:44 -0500 (EST)
Hello everyone.
I need some help to make a nice plot for my teaching.
I'd like to graph the following interval:
0 < x < 1
0 < y < 3
0 < x y < 2.
I did this:
Plot[{3, 2/x}, {x, 0, 4}, AxesLabel -> {"x", "y"},
Prolog -> {Line[{{1, 0}, {1, 4}}]}, Filling -> {1 -> Top, 2 -> Top},
PlotRange -> {0, 4}]
But I have no idea how I can fill the right side of the vertical line
X=1.
If you have any suggestions. Maybe I should write another code.
Thanks!
Pat.