I created a heatmap in R using heatmap2 from the gplots package and I have terrible problems formatting the image for use in the report.
The image is the eigenvalues ββof the small correlation matrix of wavelet coefficients, and I want to present the largest eigenvalues ββwith strong colors, such as red and the smallest, using soft yellow or the like. The color palette is not so much a problem as the presentation of colors. Yellow is currently the largest eigenvalue, so if possible, I want to reorder.
You can also rotate the legend similar to the first image below, I checked the help for such information, but all I can find is the rotation of the row and column labels?

Since my data represents weekly data for every hour, how can I change the x-axis to show the next 12/24 hour vector: 12,24,36,48,60,72,84,96,108,120,132,144,156,168. I tried to set this using cexCol, but I got an error that cex.axis has the wrong length, and I don't see an argument in heatmap2 in this.
par(mfrow=c(1,1))
heatmap.2(eigenvalsCombined,
trace = "none",
dendrogram = "none",
Rowv = NULL,
Colv = NULL,
density.info = "none",
margin = c(5,7),
main = expression(paste("Heatmap of Largest Eigenvalues ",
lambda[1],
" Across 7 Wavelet Scales")),
xlab = "Time Index (hours)",
key = TRUE,
lmat = rbind(c(2,3),c(4,1)),
key.title = NA,
key.xlab = "Eigenvalue Magnitude")
As you can see from my image below the main name, it is also cut off, I tried to play with the external and internal fields, but this also has no effect. When I use the zoom function in the plotter and blow up the image, the text appears, does this mean that my formatting is correct?

, , dput (evalsvalsCombined) google drive .