 
 
 
 
 
 
Re: DiscretePlot filling is darker above axis than below
- To: mathgroup at smc.vnet.net
- Subject: [mg121323] Re: DiscretePlot filling is darker above axis than below
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Sat, 10 Sep 2011 07:29:45 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <j4cnjh$hjr$1@smc.vnet.net>
"Christopher O. Young" 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}
>   ]
>  ]
>
>
Use Directive:
Show[DiscretePlot[Sin[t], {t, 0, 2 \[Pi], \[Pi]/6}, 
  ExtentSize -> \[Pi]/12, PlotStyle -> {Red, Opacity[0.5]}, 
  Filling -> Axis, FillingStyle -> {Directive[Red, Opacity[0.5]]}],
 Plot[Sin[t], {t, 0, 2 Pi}]]
-- 
_________________________________________________________________
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de

