Jump to content
  • Advertisement
Sign in to follow this  
lolplayer00

Problem with Dates

This topic is 2509 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!