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


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

Re: DiscretePlot filling is darker above axis than below

From Bob Hanlon <hanlonr@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: DiscretePlot filling is darker above axis than below
Date 2011-09-10 11:31 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4fhqs$2ga$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

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


Thread

Re: DiscretePlot filling is darker above axis than below Bob Hanlon <hanlonr@cox.net> - 2011-09-10 11:31 +0000

csiph-web