Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2010

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

Search the Archive

Re: Copying and Pasting from a Grid with Dividers

  • To: mathgroup at
  • Subject: [mg110785] Re: Copying and Pasting from a Grid with Dividers
  • From: Helen Read <hpr at>
  • Date: Tue, 6 Jul 2010 05:02:43 -0400 (EDT)
  • References: <i0u000$jp5$>
  • Reply-to: HPR <read at>

On 7/5/2010 9:13 PM, David Park wrote:
> Here is a simple Grid construction with Dividers.
> Grid[Array[0&, {3, 5}],
>   Dividers ->  {{True, True, False, False, False, True}, {True, True,
>      False, True}}]
> Now I would like to copy and paste a sub-matrix from the output. Let's say I
> select and copy the 2 row, 4 column block on the lower right. (But we could
> copy any sub-matrix irrespective of the Dividers.) When I paste it into the
> notebook, it is still a GridBox structure and it still shows dividers. And
> the dividers are now wrong. However, when the copied item is evaluated, the
> result is a simple matrix, which is just what I want. My only objection is
> the appearance of the pasted material.
> Is there some method such that the Dividers might be striped before the
> copied material is pasted, or that the pasted material would be a simple
> List structure, instead of a GridBox, in the first place?


Helen Read
University of Vermont

  • Prev by Date: ParametricPlot3D problem
  • Next by Date: Re: Change Default Button Method
  • Previous by thread: Re: Copying and Pasting from a Grid with Dividers
  • Next by thread: Defining UpValues