Displaying 1 result from an estimated 1 matches for "xlon".
Did you mean:
xeon
2010 Oct 11
2
filled.contour: colour key decoupled from main plot?
..., mainly based on the quantiles of tenths of the data in order to capture the whole range (of rainfall for example), including the more extreme values both sides. In the colour key this results in uneven distribution of the colour bars (and I understood why). Here is the code with simplistic data:
xlon <- seq(10, 60, len=10)
ylat <- seq(20, 50, len=10)
prcp <- abs(rnorm(length(xlon)*length(ylat)))*1000
zprcp <- array(zprcp,c(length(xlon),length(ylat)))
zprcp.colour <-c("#EDFFD2","#00FFD2","#00F0FF","#00B4FF","#0078FF","#003C...