This seems like something obvious but I've searched for this all afternoon and can't come up with anything that addresses my issue. I've been struggling with my buttondownfcn callback on an axes which xaxis is defined in datetime.
DatetimeRuler with properties:
Limits: [Aug 21, 2017, 21:00 Aug 21, 2017, 22:45]
TickValues: [Aug 21, 2017, 21:00 Aug 21, 2017, 21:15 Aug 21, 2017, 21:30 Aug 21, 2017, 21:45 Aug 21, 2017, 22:00 Aug 21, 2017, 22:15 Aug 21, 2017, 22:30 Aug 21, 2017, 22:45]
Show all properties
The eventinformation comes in as
Hit with properties:
IntersectionPoint: [0.927083313465118 5.139902343750000e+02 -1]
Source: [1×1 Axes]
I've read that is the "location of last button click, in axes data units", but the x value doesn't look like a datenum. I thought it might be an offset from the axis limit but
Aug 22, 2017, 19:14
is not where I picked. I picked as closed to the 22:15 tick mark (in the attached image) as I could. It's close but there's an origin somewhere that I seem to be missing.
Can anyone shed some light on this?