'plotly in R: Overlapping values of x and z axis and legend range
I have created a surface area with my own data. I would like to change the legend range from (-10, 30) to (0, 35) and to solve the overlapping in the values of X and Z axis. Here is the code:
EjeX <- ColTempTime$Temperature
EjeY <- ColTempTime$Time
POS2 <- as.matrix(ConcPOS2)
Fig7 <- plot_ly(x = EjeX, y = EjeY, z = POS2) %>% add_surface()
Fig7
layout(Fig7, scene = list(xaxis = list(range = c(110,190)), yaxis = list(range = c(2,14)), zaxis = list(range = c(0,35))))
And the figure I obtained: surface plot
Thank you in advance
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
