Names of variables on the graph


I want to know how could I make to change the names (X,Y,Z) by other one in the vignette of the graph.

I mean, how to change the X,Y and Z that it’s shown on the right side of the image , around the red circle :).

By now, the script is just:

p <- plot_ly(z = volcano, type = “surface”)

Thank you very much for the help !!!


You might to look at

That’s for Python.
Anyway, I tried it and it doesn’t work.
Any other suggestions?

Thank you very much for your support