MathGroup Archive 2011

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

Search the Archive

Re: DiscretePlot filling is darker above axis than below


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}
  ]
 ]





  • Prev by Date: Alignment problem with Row[ ]
  • Next by Date: Manipulate inside module
  • Previous by thread: Re: DiscretePlot filling is darker above axis than below
  • Next by thread: Re: DiscretePlot filling is darker above axis than below