• Advertisement
Sign in to follow this  

Problem with Dates

This topic is 2179 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.
[url="http://root.cern.ch/root/html/TAxis.html"]http://root.cern.ch/...html/TAxis.html[/url] -> Axis class for the graph.

I read this tutorial on the official site but it didn't help much.
[url="http://root.cern.ch/drupal/content/how-create-axis-time-units"]http://root.cern.ch/...axis-time-units[/url]

Share this post


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

  • Advertisement