Changeset 951


Ignore:
Timestamp:
Dec 5, 2009, 12:32:10 AM (12 years ago)
Author:
Jari Häkkinen
Message:

Minor code improvement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Graph.cc

    r950 r951  
    106106      }
    107107
    108       unsigned int ytickspacing=tick_spacing(ymax_-ymin_);
    109       unsigned int xtickspacing=tick_spacing(xmax_-xmin_);
     108      unsigned int ytickspacing=tick_spacing(yrange_);
     109      unsigned int xtickspacing=tick_spacing(xrange_);
    110110      pls_.box(xopt.c_str(), xtickspacing, 1, "bcnstv", ytickspacing, 2);
    111111      pls_.lab("Date", "Number of lines", title_.c_str());
Note: See TracChangeset for help on using the changeset viewer.