Major and minor tickmarks with plotly
问题 I would like to generate a figure in plotly like the following figure generated with the base R graphics: The R code for the figure above is the following: x = c(1,2,3,4,5) y = c(0.1, 1, 10, 100, 1000) axseq = y plot(x, log10(y), yaxt="n") axis(2, at=log10(axseq), labels=as.character(axseq)) for (i in 1:5){ bb = 1:10; a = (bb*10^(i-2)); axis(2, at=log10(a), tcl=-0.25, labels=F) } My plotly code for the same figure so far is the following: p = plot_ly(x=x, y=log10(y), mode="markers") %>%