[英]How to show all x-axis labels of image.plot() without changing the size or alignment?
当我增加 label 大小时,并非我的 image.plot() 的所有 x 轴标签都不再显示,即使它们尚未重叠。 有没有办法强制 R 显示所有 x 轴标签而不减小大小或将 alignment 从水平更改为垂直?
library(fields)
library(dichromat)
zlim <- c(0.00, 13.47)
brks <- c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
color <- colorRampPalette(c("gray97", "gray28"))(15)
image.plot(interp,
zlim=zlim, add=T, verbose=F,
col=color, breaks=brks, lab.breaks=brks,
legend.only=T, horizontal=T,
legend.width=0.7,
axis.args=list(cex.axis=1.4, font=2),
legend.mar=4.7,
legend.args=list(text=("Anzahl heißer Tage (>30 °C) [Tage pro Jahr, T/J]"),
cex=1.1, side=1, line=2.5, font=2))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.