NB. one of many answers, all alike.
   NB. "little boxes" "all made out of ticky-tacky"
   NB. "all look just the same."

   [ A=: <"1 origdata ,. modvals  NB. box rows of the stitched data
+---+-----+-----+-----+----+----+----+----+----+----+----+----+----+-----+-----+-----+----+
|9 9|10 10|11 11|12 12|13 1|14 2|15 3|16 4|17 5|18 6|19 7|20 8|21 9|22
10|23 11|24 12|25 1|
+---+-----+-----+-----+----+----+----+----+----+----+----+----+----+-----+-----+-----+----+

   ,.&.>A  NB. ravel items under open
+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|
|9|10|11|12| 1| 2| 3| 4| 5| 6| 7| 8| 9|10|11|12| 1|
+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

   ,.each A  NB. ravel items under open
+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|
|9|10|11|12| 1| 2| 3| 4| 5| 6| 7| 8| 9|10|11|12| 1|
+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
   

On Wed, 2012-12-26 at 20:05 +0000,
[email protected] wrote:
> Date: Wed, 26 Dec 2012 14:05:41 -0600
> From: "PackRat" <[email protected]>
> To: [email protected]
> Subject: [Jprogramming] Displaying multiple data within a box
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=US-ASCII
> 
> How does one get related data to display one above the other in a box?
> 
> For example, let's use the data in my recent residue question:
> 
>    origdata=. 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26...
> 
>    modvals=.  9 10 11 12  1  2  3  4  5  6  7  8  9 10 11 12  1  2...



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to