From: David Park on
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?





David Park

djmpark(a)comcast.net

<http://home.comcast.net/~djmpark> http://home.comcast.net/~djmpark/
From: David Park on
I missed the simple answer, which is to CopyAs Input Text.





David Park

djmpark(a)comcast.net

http://home.comcast.net/~djmpark/







From: David Park [mailto:djmpark(a)comcast.net]





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?





David Park

djmpark(a)comcast.net

http://home.comcast.net/~djmpark/

From: Helen Read on
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?

CopyAs
InputText



--
Helen Read
University of Vermont