Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Re: ChartStyle in BoxWhiskerChart

  • To: mathgroup at smc.vnet.net
  • Subject: [mg130426] Re: ChartStyle in BoxWhiskerChart
  • From: debguy <johnandsara2 at cox.net>
  • Date: Wed, 10 Apr 2013 00:53:47 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <kk0i28$2t8$1@smc.vnet.net>

(* well i think the properties you mentioned are done automatically
for you, using one possible style.  there are many options.  sorry I'm
unsure what shape you want as a result of what data at each point of
interest. *)

(* here is a book example that uses oblong disks, from mm v 4.0
another way is to simply plot whatever you want separately and
DisplayTogether them.  . for whisker I think you want to use:
ChartElementFunction in the way ErrorBarFunction is used. *)

mybarfunc[pt_, ErrorBar[xerr_, yerr_]] :=
   {GrayLevel[0.5],
   Disk[pt, {Max[Abs[xerr]], Max[Abs[yerr]]}]})

MultipleListPlot[
  {{{1, 2},     ErrorBar[0.2, 0.4]},
   {{1.5, 3.2}, ErrorBar[0.4, 0.2]},
   {{3, 2.5},   ErrorBar[0.3, 0.1]},
   {{4.4, 5.2}, ErrorBar[.2, {-0.5, 0.3}]},
   {{5.5, 2.1}, ErrorBar[{-0.4, 0.3}, {-0.2, 0.5}]} },
ErrorBarFunction -> mybarfunc]



  • Prev by Date: Re: rayshade POV Export help asked
  • Next by Date: Re: meaningful solution to the differential eqn
  • Previous by thread: Re: ChartStyle in BoxWhiskerChart
  • Next by thread: How can I force mathematica to collect a symbol from a polynomial