I’ve looked up surface plots and contour plots but cannot find the appropriate format. I am not concerned with height and want a bird’s eye view of a flat grid – much like the format of ARCGis.
I have random values between 0 to 10 in a 7×7 matrix.
I want to draw a grid 7 by 7 that is 2D where the individual grid cells are block-coloured according to their value.
The top left value of the matrix is the top left cell of the plot and so on. They should align.
I don’t want to have to export matlab’s output and put it back into ARCG each time I get a result. Thanks for your advice guys!
If you have a 2D array, you should be able to just “show” it like an image. Try using
imagesc()withcolormap on. You can change the colormap, size, etc.