How to plotting POSIXct time in R?

For POSIXct try with scale_x_datetime() and as.POSIXct() instead of scale_x_date() and as.Date(). If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

1 Like