Changeset 133 for trunk/lib/GnuplotFE.h
- Timestamp:
- Aug 2, 2006, 9:52:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/GnuplotFE.h
r123 r133 60 60 61 61 /// 62 /// Plot the data \a y. If a date vector is set with set_dates 63 /// function before calling this function, the date vector will be 64 /// used as x values using \a format as date format 65 /// description. If no date vector is set then the \a y data will 66 /// be plot as a function of subversion revision. 62 67 /// 68 /// @see Gnuplot documentation for date formats. 63 69 /// 64 void plot(const std::vector<u_int>& y,const std::string& format="%y-%b"); 70 /// @note \a y may change in this call: In some cases the date and 71 /// \a y data vectors may have different length. This is an effect 72 /// from subversions treatment of revisions, i.e., subversion 73 /// controlled items may have different revisions but still up to 74 /// date (at the items last changed revision). The date vector 75 /// typically contains all revisions of the repository and thus a 76 /// clash of different sized vectors may occur in gnuplot. This 77 /// situation is resolved by adding elements to \a y such that the 78 /// vector sizes match. The date vector is never expected to be 79 /// shorter than \a y vector. 80 /// 81 void plot(std::vector<u_int>& y,const std::string& format="%y-%b"); 65 82 66 83 /// 84 /// Plot the data \a y as a function of \a x using the Gnuplot 85 /// 'replot' command, see plot documentation for information on x 86 /// axis data and possible modifications of \a y. 67 87 /// 68 /// 69 void replot(const std::vector<u_int>& y); 88 void replot(std::vector<u_int>& y); 70 89 71 90 ///
Note: See TracChangeset
for help on using the changeset viewer.