Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4850 > unrolled thread

Re: DiscretePlot filling is darker above axis than below

Started byChristopher Young <cy56@comcast.net>
First post2011-09-10 11:33 +0000
Last post2011-09-10 11:33 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: DiscretePlot filling is darker above axis than below Christopher Young <cy56@comcast.net> - 2011-09-10 11:33 +0000

#4850 — Re: DiscretePlot filling is darker above axis than below

FromChristopher Young <cy56@comcast.net>
Date2011-09-10 11:33 +0000
SubjectRe: DiscretePlot filling is darker above axis than below
Message-ID<j4fhtp$2gm$1@smc.vnet.net>
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@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@comcast.net

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web