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


Groups > comp.soft-sys.math.mathematica > #4849

Re: DiscretePlot filling is darker above axis than below

From "Christoph Lhotka" <christoph.lhotka@univie.ac.at>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: DiscretePlot filling is darker above axis than below
Date 2011-09-10 11:32 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4fhsp$2gg$1@smc.vnet.net> (permalink)
References <201109090950.FAA18009@smc.vnet.net>

Show all headers | View raw


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@astro.univie.ac.at

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: DiscretePlot filling is darker above axis than below "Christoph Lhotka" <christoph.lhotka@univie.ac.at> - 2011-09-10 11:32 +0000
  Re: DiscretePlot filling is darker above axis than below "Christopher O. Young" <cy56@comcast.net> - 2011-09-12 08:31 +0000

csiph-web