我已经制作了这个美妙的湖泊温度剖面图虽然令人头疼。我只想在颜色条上添加一个标签,表明它是度数C.最好是度数符号。这是代码和几乎完成的情节!
levelplot(data.m, aspect="fill",
col.regions=colorRampPalette(c("white","blue","yellow","red")),
at=seq(0,14.5,length=50),
ylab = "Depth (m)", xlab = "Date",
scales=list(x=list(at=c(9,40,70,101,132,162,193,223,254,285,313,344)),
y=list(at=c(2,12,22,32,42,52,62,72,82,92,102))))