ggplotly: log argument cancels axis labels

前端 未结 3 1651
無奈伤痛
無奈伤痛 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条回答
  •  既然无缘
    2021-01-20 04:36

    or maybe this?

    ggplot(data = mtcars, aes(x = log10(wt), y=mpg, colour = factor(cyl))) + 
      geom_point() + 
      scale_x_continuous("wt, log10-scaling")
    
    ggplotly()
    

提交回复
热议问题