Input data is structured like
| Price | Seconds | Date |
|---|---|---|
| 11111 | 6443 | 2022-01-03 |
| 22222 | 7400 | 2022-01-04 |
ggplot(data=d.2,aes(x=Seconds, y=Price)) +
geom_path(colour="blue") +
ylab("Price") +
xlab("Date") +
coord_cartesian(xlim = c(7*3600+5*60, 15*3600+25*60)) +
facet_wrap(~Date, nrow = 1) +
scale_x_time()
Right now I got the following output
Tried manipulating the scale_x_time in some ways I found on here, but can't seem to get it right.
I would like to display time of the day just in hours and minutes, such that it fits my lowre x axis better.

Under the hood
scale_x_timeconverts your seconds to ahmsobject. Unfortunately I have not found an option to format anhmsto show only the hours and minutes directly. But one option would be to convert to a datetime first: