Changeset 875 for trunk/lib/Graph.h
- Timestamp:
- Nov 23, 2009, 7:49:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Graph.h
r872 r875 56 56 57 57 /** 58 \brief Plot \a data 58 \brief Plot \a data using \a format for x-axis values when 59 dates are used. 59 60 */ 60 void plot(const std::vector<unsigned int>& data); 61 void plot(const std::vector<unsigned int>& data, 62 const std::string& format="%y-%b"); 63 64 65 /** 66 \brief Function setting the dates. 67 68 The date strings must be in svn format since underlying time 69 conversion are done with the Date class. 70 71 \see Date::svntime(std::string) 72 */ 73 static void set_dates(const std::vector<std::string>& date); 61 74 62 75 static const std::vector<std::string>& xticks(void); … … 77 90 unsigned int plots_; // keep track of number of plots drawn 78 91 plstream pls_; 92 std::string title_; 79 93 static std::vector<std::string> xticks_; 80 94 double yrange_;
Note: See TracChangeset
for help on using the changeset viewer.