Skip to main content
GameDev.net gamedev.net
🔒 Locked

Problem with Dates

Started by lolplayer00 Jan 31, 2012 at 10:58 AM 0 replies 1.6k views
Original Post
lolplayer00
lolplayer00
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.