I checked similar threads, and my question is going to be a step further from this one: Plotting colored grid based on values
I have a grid size 20 x 10, where the first cell (bottom left) has an ID = 0 and the last one (upper right) has an ID = 99. Lets say that I have two lists. The first one is a list of cells that have a value bigger than 0 and the second list consists of those values, e.g. cell with ID = 11, has a value 77.
Cellid = [2, 4 ,5, 11 ,45 ,48 ,98]
Cellval = [20, 45 ,55, 77,45 ,30 ,15]
- I would like to make a 2D plot of this grid where the cell color is based on value. Empty cells are blank, for the rest: the bigger the value, the greener the cell.
- Secondly, i'd like to upgrade 2D plot from previus point with 3D-plot, where the cells values are columns.
Can you give me an advice how to approach this?