from this form:
t0 t1 t2
s0 p0 p0 p0
s1 p1 p1 p1
s2 p0 p1 p0
s3 p1 p0 p0
to this:
p0 p0 p0 p0 p0 p0 p0 p1 p1 p1 p1 p1
t0 s0
t0 s1
t0 s2
t0 s3
t1 s0
t1 s1
t1 s2
t1 s3
t2 s0
t2 s1
t2 s2
t2 s3
and this:
p0 p0 p0 p0 p0 p0 p0 p1 p1 p1 p1 p1
s0 t0
s0 t1
s0 t2
s1 t0
s1 t1
s1 t2
s2 t0
s2 t1
s2 t2
s3 t0
s3 t1
s3 t2
or
this here:
p0 p1
t0 (s0,s2) (s1,s3)
t1 (s0,s3) (s1,s2)
t2 (s0,s2,s3) (s1)
and this:
p0 p1
s0 (t0
t1
t2)
s1 (t0
t1
t2)
s2 (t0 (t1)
t2)
s3 (t1 (t0)
t2)
2007/10/21, Raul Miller <[EMAIL PROTECTED]>:
>
> On 10/20/07, Björn Helgason <[EMAIL PROTECTED]> wrote:
> > What I want to do is able to show relationships
> >
> > something(s#) in a time(t#) and a place(p#)
> > being able to shift the matrix in order to switch between
> representations of
> > contents and labels
> >
> > t0 t1 t2
> > s0 p1 p1 p1
> > s1 p2 p2 p2
> > s2 p1 p2 p1
> > s3 p2 p1 p1
> >
> > I am not absolutely sure how to do the switch and turn the matrix to
> display
> > in the grid or grids.
>
> I do not understand what you mean by "shift" or "switch".
>
> That said, it sounds almost as if you are looking for:
> s=:;:'s0 s1 s2 s3'
> t=:;:'t0 t1 t2'
> s["0/t
> s]"0/t
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=)
`. )----' (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm