R点阵线框颜色比例在各个图上相似 [英] R lattice wireframe color scale similar across plots

查看:105
本文介绍了R点阵线框颜色比例在各个图上相似的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法改变格子中的悬垂色标:线图?我有一系列绘图,想要调整颜色,以便它们各自显示相同的色标.我可以更改z轴比例,但这只能使表面本身上下移动,而不是颜色比例.查找时是否缺少我想要的关键字?

Is there a way to change the drape color scale in lattice: wireplot? I have a series of plots and would like to adjust the colors so they each show the same color scale. I am able to change the z axis scale, but that only makes it so the surface itself moves up and down, not the color scale. Is there a keyword I am missing when looking it up?

wireframe(InitFe2solid.ug.gdw~Depth*Distance,
          allplatesdata[allplatesdata$UseMonth=="August", ],
          drape = TRUE,
          colorkey = TRUE,
          zlab = list("Sulfate uM", rot = 90),
          zlim = range(seq(0.0, 4)))

推荐答案

添加该行即可解决

 at=do.breaks(c(0,14),100)

这篇关于R点阵线框颜色比例在各个图上相似的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆