You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ggplot2 to render the daily electricity prices and compare it with the previous day price. Very useful! I show both prices on the same plot covering 24h, but the plot is showing seconds when the accuracy of the data is only hours, because the time is ingested as POSIXct.
It would be nice if scale_{x|y}_time could handle date_label or date_breaks, otherwise I am forced to use some ugly transformation. If the name of the argument is not good as the time is not date it would be nice if the labels or breaks would follow the same principle as in date_label and date_breaks for datetime and other related scale_*time functions
I think this should be posted here and if useful could need some scales change.
I am using ggplot2 to render the daily electricity prices and compare it with the previous day price. Very useful! I show both prices on the same plot covering 24h, but the plot is showing seconds when the accuracy of the data is only hours, because the time is ingested as POSIXct.
It would be nice if
scale_{x|y}_time
could handledate_label
ordate_breaks
, otherwise I am forced to use some ugly transformation. If the name of the argument is not good as the time is not date it would be nice if the labels or breaks would follow the same principle as indate_label
anddate_breaks
for datetime and other relatedscale_*time
functionsI think this should be posted here and if useful could need some scales change.
Created on 2024-03-29 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: