I've got 6000 reports. For each report, I've got how many garbage there is in the report. So I can make a histogram of this:
boundaries = seq(0,1 , by=0.01)
hist(hoeveel_rommel_per_rapport, breaks=boundaries)
where hoeveel_rommel_per_rapport is a vector that describes the garbage for each reports.

Now I've got a cluster number for each report. I want to give all the clusters a different color in the histogram. Is this possible?
So for example, the first stack contains 3 different clusters, so it gets 3 colors.



You can pass the argument
colwith the colors you want, I am not sure if by passing a list of colors likecol = c("green", "red", "blue")will do what you want, but you can certainly select which color do they have