Changeset 948
- Timestamp:
- Dec 4, 2009, 1:33:12 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Graph.cc
r929 r948 85 85 #ifdef HAVE_PLPLOT 86 86 if (!plots_) { 87 xmin_= date_xticks() ? Date(xticks_.front()).seconds() : 0; 87 // date[0] is not the oldest when repo is imported with cvs2svn 88 xmin_= date_xticks() ? 89 std::min( Date(xticks_[0]), Date(xticks_[1]) ).seconds() : 0; 88 90 xmax_= date_xticks() ? Date(xticks_.back()).seconds() : y.size(); 89 91 xrange_=xmax_-xmin_;
Note: See TracChangeset
for help on using the changeset viewer.