有什么方法可以在 R 中使用 tm_layout 自定义图例直方图 x 轴或 y 轴

Is there any way to customize legend histogram x-axis or y-axis using tm_layout in R

我知道可以从 tm_layout 自定义“legend.hist”的一些功能,例如“legend.hist.height”、“legend.hist.size” , "legend.hist.width" 等等。但是,是否有一些方法可以自定义 x 轴或 y 轴,例如来自 ggplot 甚至 xlim() 的 scale_y_continuous(breaks = seq(70, 80, by = 2)) ?

提前致谢

不幸的是,这是不可能的(目前)。

tmap 目前正在大修(至 v4):我们仍需决定如何处理直方图和其他图例图表。