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: [mg119236] Re: Multiple Subregions Background In a Grid
  • From: Armand Tamzarian <mike.honeychurch at gmail.com>
  • Date: Wed, 25 May 2011 19:33:28 -0400 (EDT)
  • References: <irijof$qe2$1@smc.vnet.net>

On May 25, 7:56 pm, Louis-Alexandre <l... 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}}]

Just include each subregion in your list (I'm assuming this is what
you have in mind?):

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

Mike


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