欢迎光临散文网 会员登陆 & 注册

R语言学习记录:rasterVis保存图片|添加点数据|指北针|刻度尺|经纬网

2022-08-10 01:51 作者:孤独的王大老实  | 我要投稿

保存图片

https://rstudio-pubs-static.s3.amazonaws.com/16756_56e9817f4cab42ceae5bc28b788c2c01.html



添加点数据

https://duoduokou.com/r/66081366197546713702.html


添加刻度尺scale

Use grid.rectgrid.text and latticeExtra::layer.

添加指北针

Use sp::layout.north.arrow with latticeExtra::layer.

添加经纬网

How to overlay graticules (longitude - latitude lines)

The graticule package defines and draws graticules (longitude and latitude lines). The result can be combined with the levelplot output as shown in this gist.


rlnm了,这么复杂能不让ggplot爆锤么,要不是这个边际图比较好看方便谁TM用你这个破包

R语言学习记录:rasterVis保存图片|添加点数据|指北针|刻度尺|经纬网的评论 (共 条)

分享到微博请遵守国家法律