Hello, I must start by saying that I am an R novice and am sorry if this is a no-brainer...
I have an csv file that contains a grid of 300x300 data points. Each point represents a 1Km square on a map. Each point is either a floating point number or NA. I load the data in with: data <- read.csv("matrix.csv", sep=',') Convert the data to a matrix with: data_matrix <- data.matrix(data) and then produce the heatmap with: data_heatmap <- heatmap(data_matrix,Rowv=NA,Colv='Rowv',margin=c(0,0)) The heatmap is displayed in a separate window as expected and looks correct apart from fine white banding lines spaced out evenly over the image running horizontally across the image? At first I thought it was my data but I checked that and its not. If I resize the image I then see white vertical lines and different horizontal lines appear? I've tried a number of different settings but can't seem to get rid of these lines. If I can get rid of them the image will be ideal and just what I want. Does anyone have any idea of what I'm doing wrong? Best regards, Col. [[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.