For reasons of comparison of two heatmaps associating categorical variables, I would like to know how I can adjust the "Count" axis of the density plot/histogram superimposed on the color key such that in both heatmaps the keys including the histogram are more easily comparable?
I would expect to have something like
heatmap.2(
...
key.ylim=c(min,max),
...
)
available but it seems as if this is hardcoded in heatmap.2
. I am not sure whether I can do this via key.ytickfun
or key.par
.
Thank you for an answer.