MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Dividers formatting in Grid

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83151] Re: [mg83123] Dividers formatting in Grid
  • From: Syd Geraghty <sydgeraghty at mac.com>
  • Date: Tue, 13 Nov 2007 03:37:24 -0500 (EST)
  • References: <200711121011.FAA10920@smc.vnet.net>

Hi Murray,

This gives what you want ...HTH

Grid[Join[{{"First", "Second", "Third"}}, Partition[Range[6], 3]],
  Dividers -> {{2 -> Red, 3 -> Red}, {2 -> Blue}}]


Cheers ... Syd

Syd Geraghty B.Sc., M.Sc.
sydgeraghty at mac.com
San Jose, CA

My System

Mathematic 6.0.1 for Mac OS X x86 (32 - bit) (June 19, 2007)  License  
L2983-5890
MacOS X V 10.4 .10
MacBook Pro 2.33 Ghz Intel Core 2 Duo  2GB RAM

On Nov 12, 2007, at 2:11 AM, Murray Eisenberg wrote:

> In the following Grid, why are the two vertical dividers not red?
>
>     Grid[Join[{{"First", "Second", "Third"}}, Partition[Range[6], 3]],
>          Dividers -> {{None, 2 -> Red, 3 -> Red}, {2 -> Blue}}]
>
> (On my Windows XP system with Mathematica 6.01, they are black.)
>
> Note that in the following Grid, the single vertical divider IS red:
>
>     Grid[Join[{{"First","Second"}},Partition[Range[4],2]],
>        Dividers->{{None,2->Red},{2->Blue}}]
>
> Am I not understanding the syntax or semantics of the Dividers option?
>
> -- 
> Murray Eisenberg                     murray at math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower      phone 413 549-1020 (H)
> University of Massachusetts                413 545-2859 (W)
> 710 North Pleasant Street            fax   413 545-1801
> Amherst, MA 01003-9305
>



  • Prev by Date: Re: Dividers formatting in Grid
  • Next by Date: Re: Pattern test and expression sequence
  • Previous by thread: Dividers formatting in Grid
  • Next by thread: Re: Dividers formatting in Grid