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


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

Re: DiscretePlot filling is darker above axis than below

From Peter Breitfeld <phbrf@t-online.de>
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 <j4fhrq$2gc$1@smc.vnet.net> (permalink)
References <j4cnjh$hjr$1@smc.vnet.net>

Show all headers | View raw


"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

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


Thread

DiscretePlot filling is darker above axis than below "Christopher O. Young" <cy56@comcast.net> - 2011-09-09 09:51 +0000
  Re: DiscretePlot filling is darker above axis than below Peter Breitfeld <phbrf@t-online.de> - 2011-09-10 11:32 +0000
  Re: DiscretePlot filling is darker above axis than below "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-09-10 11:33 +0000
    Re: DiscretePlot filling is darker above axis than below "Christopher O. Young" <cy56@comcast.net> - 2011-09-12 08:30 +0000

csiph-web