your example data set doesn't contain the weekday.
nevertheless, you may skip the weekday (if it's numerical) by reading it as
e.g. month and overwriting it with the right month information afterwards:
set timefmt "%Y,%m,%m,%d,%H,%M"
miccim wrote:
>
> This is the data from a weatherstation:
>
> Year,Weekday,Month,Date,Hour,Minute,InTemp (degC),InRH (%),CH1Temp
> 2011,2,3,19,56,20.60,47.00,21.20,44.00,, , , , , , , , ,
> 1035.06,5,22.90,0.00,0.00,11,5.6,
> 2011,2,3,20,13,22.45,46.00,21.70,49.00,, , , , , , , , ,
> 1035.06,5,25.10,0.00,0.00,11,21.9,
> 2011,2,3,20,18,22.95,44.00,22.80,42.00,, , , , , , , , ,
> 1035.06,5,25.40,0.00,0.00,11,21.9,
> 2011,2,3,21,18,23.00,41.00,21.00,44.00,, , , , , , , , ,
> 1027.75,5,23.90,0.00,0.00,11,21.9,
>
> Now I want to create charts using gnuplot 4.4 on a Windows 7 system.
> Because of the Weekday (between Year and Month) I cannot get the timefmt
> right.
> Is there a code to skip one data (Weekday) and continu, this below
> (timefmt) obviously doesn't work.
> Hope that someone can point me in the right direction, many thanks in
> advance!
>
> set xlabel "date and time"
> set ylabel "outside temp. [º]"
> set datafile separator ","
> set xdata time
> set timefmt "%Y,%m,%d,%H,%M"
> plot "data2.csv" using 1:6 with linespoints title "weatherstation InTemp"
>
--
View this message in context: http://old.nabble.com/timefmt-skip-one-data-in-format-tp32782835p32783411.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|