This issue is exactly why Mathworks changed the default color map in their 2014b release. There is an interesting series of blog posts about the motivation here [0].
Maybe a similar default colormap would make sense for viewmat too? [0]: http://blogs.mathworks.com/steve/2014/10/13/a-new-colormap-for-matlab-part-1-introduction/ On 11 Nov 2014 18:27, "Brian Schott" <[email protected]> wrote: > Yes, Ben. That's exactly what I needed. > > As it turns out I meant addition table, not times, but that just means > changing the * to +. I was inspired by Linda's addition tables (for first > graders that I have been working with), but I could not properly appreciate > the purpose of the colors relative to the underlying numeric magnitudes. In > retrospect, I can see the parallel anti-diagonals in the RGB palettes > better, but not the continuity in the main diagonal, like I can see in the > greyscale. > > Thanks, > > > On Tue, Nov 11, 2014 at 8:46 AM, Ben Gorte - CITG <[email protected]> > wrote: > > > Try: > > > > grey =: 3 : '(256 3 $ 3#i.256) viewmat y' > > grey */~i. 13 > > > > (it works) > > > > Ben > > > -- > (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
