If you provide some example data in reproducible code, I might be able to 
help.  Otherwise, not much I can do.

Jean



JIMonroe <jim...@virginia.edu> wrote on 10/08/2012 01:17:55 AM:
> 
> Jean,
> 
> It's definitely bigger now, but my axes are cut-off.  As in your 
example, I
> had them drawn after generating the heatmap, but the image does not seem 
to
> be centered.  I think even part of the heatmap is getting cut off, which
> wasn't happening until I explicitly set the width and height of the pdf. 

> Here is my code
> 
> > pdf("Apo_Mut_Boot.pdf", width=200, height=200)
> > heatmap(x=as.matrix((Apo_Mut)), col =
> > colorRampPalette(c("white","black"))(256),
> > zlim=c(min(Apo_Mut),max(Apo_Mut)),    add = FALSE, xaxs = "i", yaxs =
> > "i",xaxt= "n", yaxt = "n", xlab="residue", ylab="residue",
> > main="Apo-Mutant",revC=TRUE, Rowv = as.dendrogram(blah2), Colv =
> > as.dendrogram(blah2), reorderfun = function(d,w) rev(reorder(d,w)), 
> > oldstyle = FALSE,cexRow=0.01,cexCol=0.01,symm=TRUE )
> > axis(1, at=1:919, labels=RowCol, las=2, cex=0.01)
> > axis(4, at=1:919, labels=RowCol, las=2, cex=0.01)
> > box()
> > graphics.off()
> 
> Jacob

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to