Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Problem with Dates

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 lolplayer00   Members   

100
Like
0Likes
Like

Posted 31 January 2012 - 04:58 AM

Hello everyone, I'm currently trying to fit a set of daily stock-quotes data using cern-root libraries, the problem is that the points are non equispaced and I must fit a great numbers of points (about 4000).
Data is formatted this way (.csv file):

Date, Open Val, Highest Val, Close
dd/mm/yyyy, ......
dd/mm/yyyy, ......
.......
.......
.......
EOF


I've got no problem with accessing and parsing the file but need some help handling the gap between some of the dates since the axis (TAxis class) spreads automatically once you give it a time offset.
Here are the link to some of ROOT classes i'm using.
http://root.cern.ch/...html/TAxis.html -> Axis class for the graph.

I read this tutorial on the official site but it didn't help much.
http://root.cern.ch/...axis-time-units




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.