I want to plot the file in gnuplot with "Data" on y axis and "Hour" on x axis which I know how to do that. I also want that when "Hour" value is "00" (or at the changing of dates) the related "Date" appears on the x axis instead of "Hour". any idea?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1 down vote favorite
I have a text file containing data like this:
I want to plot the file in gnuplot with "Data" on y axis and "Hour" on x axis which I know how to do that. I also want that when "Hour" value is "00" (or at the changing of dates) the related "Date" appears on the x axis instead of "Hour". any idea?
plot 'info.dat' using 0:3:xtic(($2==0)?strcol(1):strcol(2))