MathGroup Archive 2011

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

Search the Archive

Re: DiscretePlot filling is darker above axis than below

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121324] Re: DiscretePlot filling is darker above axis than below
  • From: "Christoph Lhotka" <christoph.lhotka at univie.ac.at>
  • Date: Sat, 10 Sep 2011 07:29:56 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201109090950.FAA18009@smc.vnet.net>

Hello,

try to put the styles into Directive[......]

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

works fine now.

Christoph


On Fr, 9.09.2011, 11:50, 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}
>   ]
>  ]
>
>
>
>


-- 
Dr. Christoph Lhotka
University of Vienna / Institute for Astronomy
Tuerkenschanzstrasse 17, A-1180 Vienna, Austria
mail. lhotka at astro.univie.ac.at





  • Prev by Date: Re: DiscretePlot filling is darker above axis than below
  • Next by Date: Simple OpenCL program in Mathematica
  • Previous by thread: DiscretePlot filling is darker above axis than below
  • Next by thread: Re: DiscretePlot filling is darker above axis than below