RE: Shadow a part of plot without affecting frame ticks.
- To: mathgroup at smc.vnet.net
- Subject: [mg33332] RE: [mg33318] Shadow a part of plot without affecting frame ticks.
- From: "David Park" <djmp at earthlink.net>
- Date: Sat, 16 Mar 2002 01:40:10 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Jun,
You want to use the AxesFront option from the FilledPlot package. This
option is quite useful and, in my opinion, should be a general Graphics
option instead of being buried in FilledPlot. Here is an example:
Needs["Graphics`FilledPlot`"]
Needs["Graphics`Colors`"]
Show[Graphics[
{Thistle,
Polygon[{{0, 0}, {1, 0}, {0, 1}}]}],
Frame -> True,
AxesFront -> True,
PlotRange -> {{0, 1}, {0, 1}},
AspectRatio -> Automatic,
PlotLabel -> "Using AxesFront",
Background -> Linen,
ImageSize -> 350];
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
> From: Jun Lin [mailto:jl_03824 at yahoo.com]
To: mathgroup at smc.vnet.net
>
> I'll be very much appreciating if anybody would tell me how to shadow
> a part of figure but leave the frame tickmarks visible. I created a
> polygon (in light gray) of same shape and area as the region in the
> figure which I tend to shadow. It works well, but I also noticed that
> the frame tickmarks around are also shadowed. Could anybody tell me
> how to avoid shadowing the frame tickmarks. Thanks very much.
>
> Jun Lin
>