Use of XY(x,y) - Time Format Data?
Moderator: DPlotAdmin
Use of XY(x,y) - Time Format Data?
When using the XY(x,y) macro command to add points, is it possible to specify the x coordinate in a time format (e.g. XY(3:05:22, 7) ), and if so, what is the required syntax?
- RAS
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
Richard,
That's not possible currently. I'll add it to the to-do list. The format will likely be fairly strict; a colon will be an absolute requirement. All of these would work for 5:58PM:
5:58:00 PM
5:58:00 pm
5:58 PM
05:58 PM
17:58
That's not possible currently. I'll add it to the to-do list. The format will likely be fairly strict; a colon will be an absolute requirement. All of these would work for 5:58PM:
5:58:00 PM
5:58:00 pm
5:58 PM
05:58 PM
17:58
Visualize Your Data
support@dplot.com
support@dplot.com
Hmmm... doesn't look like you accept hex either.... Well if it's not already a capability of XY, rather than complicating and potentially slowing down that code, maybe an alternative would be adding another call with some additional flexibility. Something like an XY_Formatted(x,y) where the formats for both X and Y can be previously set with something like C-style scanf parameters (plus time formatting extensions)? Or I suppose just adding a call to set the expected syntax for the existing XY command would work (only slowing down XY if a non-default was set).
BTW - in your strict syntax, would 5:58:00.123456 be allowed to give me microsecond resolution?
Thanks - Richard
BTW - in your strict syntax, would 5:58:00.123456 be allowed to give me microsecond resolution?
Thanks - Richard
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
Yes (now that you mentioned itBTW - in your strict syntax, would 5:58:00.123456 be allowed to give me microsecond resolution?

Visualize Your Data
support@dplot.com
support@dplot.com