MathGroup Archive 1996

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

Search the Archive

Re: BarChart3D styles

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4436] Re: [mg4337] BarChart3D styles
  • From: Allan Hayes <hay at haystack.demon.co.uk>
  • Date: Mon, 22 Jul 1996 02:30:26 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

mek at guinan.arl.psu.edu (Mark E. Kotanchek)
[mg4337] BarChart3D styles
wants to style the bars on a 3Dbar chart.

Mark:
Using your example we can style the front "row" differently from  
the back row (as you wanted) as follows. Please note the use of  
Lighting -> False and the use of the extra entries in Hue to make  
the second row colors paler.

BarChart3D[
   {{3,8},{2,8},{1,7.5},{0.5,7}}/.
      {u_?NumberQ,v_} -> {{u,Hue[0]},{v,Hue[.6,.5,1]}},
   XSpacing -> 0.25, YSpacing -> 0.1,
   AxesEdge -> {Automatic, None, Automatic},
   Boxed -> False,
   Ticks ->
      {{{1,1},{2,"1.5"},{3,2.3},{4,3},{5,4}}, None, Automatic},
   ViewPoint->{2, -20, 1.0},
   Lighting-> False
]

The technical report "Guide to Standard Mathematica Packages" is  
the place to look.

Allan Hayes
hay at haystack.demon.co.uk



==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Pairings
  • Next by Date: [Q] Plotting non-continuous function
  • Previous by thread: BarChart3D styles
  • Next by thread: surface plots from irregularly spaced data (scatter) points