R lattice wireframe color scale similar across plots [duplicate]

℡╲_俬逩灬. 提交于 2020-01-11 06:52:21

问题


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)))

回答1:


Adding the line fixes it

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


来源:https://stackoverflow.com/questions/37949318/r-lattice-wireframe-color-scale-similar-across-plots

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!