From: adam Smith on
I am trying to display 4 equally sized squares each with the a distinct color by using the
patch() command in Matlab.

I do however not understand how to assign the colors to each distinct square. Can someone show me how this can be accomplished in the easiest way possible?
Please write the matlab code so I can understand your reasoning.