This code makes 8 images. What are the two middle colors in 'Y Four' and the
two colors in 'B Four'?

 

load 'viewmat'

]Y=:3 3$255 255 255 255 255 0 0 0 0

Y viewmat 0;'Y One'

Y viewmat 0 1;'Y Two'

Y viewmat 0 1 2;'Y Three'

Y viewmat 0 1 2 3;'Y Four'

]B=:3 3$255 255 255 0 0 255 0 0 0

B viewmat 0;'B One'

B viewmat 0 1;'B Two'

B viewmat 0 1 2;'B Three'

B viewmat 0 1 2 3;'B Four'

 

Linda

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

Reply via email to