ggplotly: log argument cancels axis labels

前端 未结 3 1621
無奈伤痛
無奈伤痛 2021-01-20 03:41

I just discovered the newish ggplotly function that makes ggplot2 graphs into interactive plotly visualizations. This is great. But I also ran into an odd effect, possibly a

3条回答
  •  -上瘾入骨i
    2021-01-20 04:20

    You can get axis names if you supply them as arguments to scale_... function.

    qplot(wt, mpg, data=mtcars, colour=factor(cyl)) + scale_x_log10("wt")
    ggplotly()
    

提交回复
热议问题