I have a polygon and 3 lists of points (H, M, L) inside this polygon. I would like to create a mesh inside this polygon and to colorcode each tile of the mesh depending on how many H, M and L there are inside.
I think I can use RGB to define the color based on the number of H, M and L but I'm clueless on how to specify the mesh and to define if a point belong to a tile rather than another.
Any suggestions? I'm adding a little example:
Graphics[{EdgeForm[Thick], White,Polygon[{{-0.5, 5.5}, {10.5, 5.5}, {-0.50,-0.50}}]}];
H = {{0, 0}, {0, 1}, {0, 3}, {1, 1}, {1, 2}, {0, 5}, {0.5, 2}, {0.5, 4}, {0.5, 5}, {3, 5}};
M = {{1, 1.5}, {2, 1.5}, {5, 3.5}, {4, 2.5}, {2, 4}, {2, 1}, {3, 3}, {6, 4.5}, {6, 4}, {8, 5}};
L = {{4, 3.5}, {0.5, 1}, {2, 3}, {5, 4}, {4, 5}, {7, 5}, {7, 4}, {6, 3.5}, {8, 4.5}, {9, 5}};




