Re: DiscretePlot filling is darker above axis than below
- To: mathgroup at smc.vnet.net
- Subject: [mg121325] Re: DiscretePlot filling is darker above axis than below
- From: Christopher Young <cy56 at comcast.net>
- Date: Sat, 10 Sep 2011 07:30:07 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201109090950.FAA18009@smc.vnet.net> <1de9e293d71b7429bb9b22b43bc6aaae.squirrel@webmail.univie.ac.at>
Thanks very much, that fixed it. Just have to remember to use Directive[ ] when I've got more than one style specifier.
> Use Directive
>
> Show[
> DiscretePlot[
> Sin[t], {t, 0, 2 \[Pi], \[Pi]/6},
> ExtentSize -> \[Pi]/12,
> Filling -> Axis,
> FillingStyle -> Directive[Red, Opacity[0.5]]],
> Plot[Sin[t], {t, 0, 2 Pi}]]
>
>
>
> Bob Hanlon
>
> ---- "Christopher O. Young" <cy56 at comcast.net> wrote:
>
> =============
> Can't seem to get the filling to come out the same darkness above and below
> the axis.
>
> Show[
> DiscretePlot[
> Sin[t], {t, 0, 2 \[Pi], \[Pi]/6},
> ExtentSize -> \[Pi]/12,
> PlotStyle -> {Red, Opacity[0.5]},
> Filling -> Axis,
> FillingStyle -> {Red, Opacity[0.5]}
> ],
>
> Plot[Sin[t], {t, 0, 2 Pi}
> ]
> ]
>
> Show[
> DiscretePlot[
> Sin[t],
> {t, 0, 2 \[Pi], \[Pi]/6},
> ExtentSize -> \[Pi]/12,
> PlotStyle -> Directive[{Red, Opacity[.5]}],
> Filling -> Axis,
> FillingStyle -> Directive[{Red, Opacity[.5]}]
> ],
> Plot[Sin[t], {t, 0, 2 Pi}]
> ]
Chris Young
cy56 at comcast.net
- References:
- DiscretePlot filling is darker above axis than below
- From: "Christopher O. Young" <cy56@comcast.net>
- DiscretePlot filling is darker above axis than below