Re: Dividers formatting in Grid
- To: mathgroup at smc.vnet.net
- Subject: [mg83223] Re: Dividers formatting in Grid
- From: Helen Read <hpr at together.net>
- Date: Thu, 15 Nov 2007 05:41:39 -0500 (EST)
- References: <fh9920$aue$1@smc.vnet.net> <200711130841.DAA27835@smc.vnet.net> <fheh2r$mn4$1@smc.vnet.net>
- Reply-to: HPR <read at math.uvm.edu>
Murray Eisenberg wrote:
> 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.
This isn't my "reasoning". I wasn't endorsing what is happening, I was
just offering a way to get it to accomplish what you wanted the dividers
to look like (as did others posting in the same thread). Whether it
should behave this way is open to question.
> 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}}]
>>
>>
>
>
--
Helen Read
University of Vermont
- References:
- Re: Dividers formatting in Grid
- From: Helen Read <hpr@together.net>
- Re: Dividers formatting in Grid