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: [mg119239] Re: Multiple Subregions Background In a Grid
  • From: Heike Gramberg <heike.gramberg at gmail.com>
  • Date: Wed, 25 May 2011 19:34:01 -0400 (EDT)

You could do something like

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

Heike.

On 25 May 2011, at 10:55, Louis-Alexandre 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: Use linux terminal from mathematica notebook
  • Next by Date: Re: Multiple Subregions Background In a Grid
  • Previous by thread: Multiple Subregions Background In a Grid
  • Next by thread: Re: Multiple Subregions Background In a Grid