ot again: gnuplot> how to get decimal hour exported

Rich Shepard rshepard at appl-ecosys.com
Fri Jun 19 12:35:15 UTC 2020

On Fri, 19 Jun 2020, Wolfgang Engelmann wrote:

> the minutes (3rd column) are divided by 60 and added to the hour (2nd
> column). They are plotted against time (1st column) and I get a correct
> graph.
> How can I obtain the column of data with the hours and decimalized minutes, 
> e.g. 00 30 > 00.50 ? I need them for further analyses.


It's been a very long time since I used gnuplot, but I would do what you
want in two steps: convert the H:M to decimal hours then plot the columns
you want.

Your input data has three columns: sample number, hour, minutes. Why not add
the fourth column, decimal hours, and save the file then run the saved file
through your gnuplot command? That way you have all the data you need for
your analyses in one file.



More information about the lyx-users mailing list