MathGroup Archive 2007

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

Search the Archive

Re: Re: Dividers formatting in Grid

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83194] Re: [mg83159] Re: Dividers formatting in Grid
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Wed, 14 Nov 2007 04:52:11 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <fh9920$aue$1@smc.vnet.net> <200711130841.DAA27835@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

But then why, as I wrote in another post to this thread, does the 
following work as expected?

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

By your reasoning, that "Green" first item should not work, either.

(Note that the docs show False as a possible item, but that causes the 
same problem as None -- it causes the color specifications 2 -> Red, 
etc., to be ignored but the vertical divider to be drawn in Black.)

So it's still seems to be either a bug or else a shortcoming in the 
documentation.

If it's not a bug, then this is another example where the documentation 
of a built-in object is not complete and precise.


Helen Read wrote:
> 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}}]
> 
> Take out None and it works.
> 
> Grid[Join[{{"First", "Second", "Third"}}, Partition[Range[6], 3]],
>   Dividers -> {{2 -> Red, 3 -> Red}, {2 -> Blue}}]
> 
> 

-- 
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: Compile a Module
  • Next by Date: Re: Partial Differentiation of Implicit Functions
  • Previous by thread: Re: Dividers formatting in Grid
  • Next by thread: Re: Dividers formatting in Grid