Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2717 > unrolled thread

Re: Multiple Subregions Background In a Grid

Started byHeike Gramberg <heike.gramberg@gmail.com>
First post2011-05-25 23:33 +0000
Last post2011-05-25 23:33 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Multiple Subregions Background In a Grid Heike Gramberg <heike.gramberg@gmail.com> - 2011-05-25 23:33 +0000

#2717 — Re: Multiple Subregions Background In a Grid

FromHeike Gramberg <heike.gramberg@gmail.com>
Date2011-05-25 23:33 +0000
SubjectRe: Multiple Subregions Background In a Grid
Message-ID<irk3ku$7ar$1@smc.vnet.net>
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}}]
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web