R lattice wireframe color scale similar across plo

2019-02-19 21:45发布

This question already has an answer here:

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条回答
ら.Afraid
2楼-- · 2019-02-19 22:16

Adding the line fixes it

 at=do.breaks(c(0,14),100)
查看更多
登录 后发表回答