Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Grid Dividers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106540] Re: Grid Dividers
  • From: Norbert Marxer <marxer at mec.li>
  • Date: Fri, 15 Jan 2010 07:00:02 -0500 (EST)
  • References: <himsnh$j9f$1@smc.vnet.net>

On Jan 14, 11:47 am, John <j... at lehigh.edu> wrote:
> My method of inserting dividers in a grid is crude:
>
>   Grid[{{a, b, c}, {d, e, f}, {g, h, i}},
>  Dividers -> {{True, True, True, True}, {True, True, False, True}}]
>
> There must be a better way.
>
> John

Hello

This shows how you can selectively disable single dividers:

   {m, n} = {5, 7};
   Grid[Table[i + j, {i, 1, m}, {j, 1, n}],
         Dividers -> {All, {All, 3 -> False}}]

It's actually a combination of the contributions by Murray and dh.

Best Regards
Norbert Marxer



  • Prev by Date: Question about Mathematica
  • Next by Date: Re: Plotting a curve on a flat torus
  • Previous by thread: Re: Grid Dividers
  • Next by thread: Simplify with NestedLessLess?