How do I draw a DateListPlot
from the bin height and bin middle position? I have a series of time events from which I calculate DateHistogram
, but I want to represent the result through a kind DateListPlot
, with joined line.
Example:
data = {DateObject[{2015, 6, 10}], DateObject[{2015, 6, 26}],
DateObject[{2015, 6, 15}], DateObject[{2015, 6, 25}],
DateObject[{2015, 6, 23}], DateObject[{2015, 6, 19}],
DateObject[{2015, 5, 31}], DateObject[{2015, 6, 6}],
DateObject[{2015, 6, 4}], DateObject[{2015, 6, 16}],
DateObject[{2015, 5, 29}], DateObject[{2015, 6, 4}],
DateObject[{2015, 6, 14}], DateObject[{2015, 6, 3}],
DateObject[{2015, 6, 14}], DateObject[{2015, 6, 6}],
DateObject[{2015, 6, 10}], DateObject[{2015, 6, 19}],
DateObject[{2015, 6, 20}], DateObject[{2015, 6, 21}]};
histogram = DateHistogram[data, "Day"]
How do I convert it to a kind of DateListPlot
with joined line, where each point is the bin height and bin middle position?