MathGroup Archive 2011

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

Search the Archive

Re: Multiple Subregions Background In a Grid

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119240] Re: Multiple Subregions Background In a Grid
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 25 May 2011 19:34:12 -0400 (EDT)

Grid[Table["g", {4}, {7}], 
 Background -> {None, None, {{1, 3} -> LightRed, {3, 5} -> LightRed}}]

Grid[Table["g", {4}, {7}], 
 Background -> {None, None, Thread[{{1, 3}, {3, 5}} -> LightRed]}]


Bob Hanlon

---- Louis-Alexandre <laeh at nyu.edu> wrote: 

=============
Dear All,

I can`t figure out how to define several subregions with different color background as in the below.

Any Idea ?

Many thanks,

LA


Grid[Table["g", {4}, {7}], 
 Background -> {None, None, {{{1, 3}, {1, 3}} -> LightRed}}]




  • Prev by Date: Re: Multiple Subregions Background In a Grid
  • Next by Date: Re: Multiple Subregions Background In a Grid
  • Previous by thread: Re: Multiple Subregions Background In a Grid
  • Next by thread: Re: Multiple Subregions Background In a Grid