Try:

grey =: 3 : '(256 3 $ 3#i.256) viewmat y'
grey */~i. 13 

(it works)

Ben
________________________________________
From: [email protected] 
[[email protected]] on behalf of Brian Schott 
[[email protected]]
Sent: Tuesday, November 11, 2014 14:21
To: Programming forum
Subject: [Jprogramming] greyscale viewmat

Is there an rgb palette or palette modifier that can be used to produce
greyscale in viewmat? Alternative approaches are welcome, also.


​My ultimate goal is to show the times table */~i. 13 in greyscale​

--
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to