ggplot2 scale x date?

后端 未结 2 1741
孤街浪徒
孤街浪徒 2021-01-11 21:54

I would like to make the ticks in the following graph daily instead of every 2 days.

df1 <- structure(
  list(
    Timestamp = structure(
      c(
                


        
2条回答
  •  灰色年华
    2021-01-11 22:35

    Instead of using scale_x_datetime(breaks = "1 day"), try for scale_x_datetime(date_breaks = "1 day")

提交回复
热议问题