如何在水平图R 格子包中绘制单个特定等高线?

问题描述

levelplot() 可以选择通过指定 contour=TRUE/FALSE 来添加等高线。

levelplot(volcano,col.regions = terrain.colors(100),contour=T)

example plot

我只需要显示一个特定的轮廓(例如 140)。有没有办法做到这一点?

我需要添加多个 shapefile 作为图层,并需要将 levelplot() 作为基础图。因此,我不能像 How to add a single new contour to a contour plot in Lattice

那样使用 contourplot() 函数

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)