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


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

Re: Multiple Subregions Background In a Grid

From Bob Hanlon <hanlonr@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Multiple Subregions Background In a Grid
Date 2011-05-25 23:34 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <irk3l9$7b2$1@smc.vnet.net> (permalink)

Show all headers | View raw


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@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}}]


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


Thread

Re: Multiple Subregions Background In a Grid Bob Hanlon <hanlonr@cox.net> - 2011-05-25 23:34 +0000

csiph-web