MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: DiscretePlot filling is darker above axis than below


"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




  • Prev by Date: execution model: Function vs. delayed execution
  • Next by Date: Re: DiscretePlot filling is darker above axis than below
  • Previous by thread: Re: DiscretePlot filling is darker above axis than below
  • Next by thread: Re: DiscretePlot filling is darker above axis than below