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


Groups > comp.soft-sys.math.mathematica > #2730

Re: Multiple Subregions Background In a Grid

From Armand Tamzarian <mike.honeychurch@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Multiple Subregions Background In a Grid
Date 2011-05-25 23:33 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <irk3ju$79v$1@smc.vnet.net> (permalink)
References <irijof$qe2$1@smc.vnet.net>

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Multiple Subregions Background In a Grid Louis-Alexandre <laeh@nyu.edu> - 2011-05-25 09:56 +0000
  Re: Multiple Subregions Background In a Grid Peter Breitfeld <phbrf@t-online.de> - 2011-05-25 23:34 +0000
  Re: Multiple Subregions Background In a Grid Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-05-25 23:33 +0000

csiph-web