Fitting a curve to time data
Reginald Beardsley via gnuplot-info <[email protected]>
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to do a fit and plot the line with a time axis. I can do the fit with an ordinal axis (i.e. 0:2), but can't figure out how to make a fit with time or display the ordinal fit in time. plt2.pdf shows what I'm trying to fit so I can show the date the line meets 0%. plt2a.pdf shows the result for: g(x) = a + b*x fit g(x) 'b' u 0:2 via a,b set term post lw 3 set out 'plt2a.ps' plot 'b' u 0:2,g(x) I just want to do the same thing but with the time axis as shown in plt2.pdf. I've read the help and demos, but just don't quite get it. I'm running 5.0 patch level 6 on OpenIndiana. If this is better done with a more recent version I'll build that from source and install it. Thanks, Reg _______________________________________________ gnuplot-info mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info