| Author |
Comment/Response |
Savage
|
01/22/13 11:21am
Hello, I have a little problem. I want to make a colored checkerboard (10 * 10) and each of the square must be red, green, yellow or blue. I made it, but two squares can have the same colour, and I don't want that. What must I add ?
This is my code :
ArrayPlot[RandomChoice[{Red, Green, Blue, Yellow}, {10, 10}] ,
Frame -> False]
Thanks !
Attachment: colored.nb, URL: , |
|