colormaps. how do they work?

1 view (last 30 days)
Harry
Harry on 5 Jul 2013
I am trying to assign colours to an n*m matrix N, so I can then display the matrix with red and blue squares with a white background. I've used my code to do this exact thing with a grayscale plot, with black and white squares, but it appears that trying to convert to colour is a lot more complicated than I imagined.

Answers (1)

Elad
Elad on 6 Jul 2013

Categories

Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!