?pdf On Mon, Mar 28, 2011 at 12:57 PM, chakri_amateur <chakri2...@yahoo.co.in>wrote:
> Hello Everyone, > > > I am using R for creating heatmap from a square matrix. Below is my script > to do so > > > my_map <- read.csv("Desktop/input.csv", sep=",") > > my_matrix <- data.matrix(my_map) > > my_heatmap <- heatmap(my_matrix, Rowv=NA, Colv=NA, col = cm.colors(256), > scale="column", margins=c(5,10)) > > > I get a beautiful plot as output, but I could not save this plot as an > image. I would like it to be in either jpg/png/svg/bitmap/ or PDF format. > Can some one advice me how to write this output to file ? > > > I am using R 2.10.1 in Ubuntu 10.04 > > > TIA > > > Chakri > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/How-to-save-heatmap-as-image-or-pdf-tp3412542p3412542.html > Sent from the R help mailing list archive at Nabble.com. > [[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. > [[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.