I am making an heatmap using R and the function levelplot() from lattice.
The commands I am using are:
data<-read.table("data_corr", header=T)
library(gplots)
library(lattice)
z<-cor(data)
levelplot(z)
and I get a figure like this

Three things:
(a) Row labels are smudged, how this can be resolved to get more clear row labels?
(b) How can I use the colours red, green and blue instead of default (pink, white and blue)?
(c) Is it possible to tweak the scale from 0.90 to 1 instead of 0.84?
Solutions in python are also welcomed, in that case I have a correlation file of 90*90 (row * column), say filename is z.txt.
In python's
matplotlib, the answers to your questions are:(a) Plot with the
imshowoptioninterpolation="nearest"(b) Colormaps can be chosen in the
imshowoptioncmap=cm.jetfor example. More examples here.(c) To scale, I'm assuming you want to only show values in the threshold and have the colorbar map accordingly. Use
imshowoptionvmaxandvmin.Here is a minimal working example: