Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Names of variables on the graph

Hello,

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

Matias

You might to look at http://stackoverflow.com/questions/35467316/rename-axes-in-plotly-3d-hover-text

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

Thank you very much for your support