received data file with thousands of lines to me:
Sat_May_25_09: 38: 22_2013 9 Sat_May_25_09: 38: 35_20l3 2 St_ma_7 9 2 9: 39: 30_20l3 2 St_maya_8 9 8 9: 40: 25_20l3 2 St_ma_8 9 8 9: 9: 41: 2l_20l3 2 Stmaya_25 9 9: 42: L6_20l3 2 Stmay_25 9 9: 43: Ll_20l3 2 Stmayः 5 9 9: 44: 07_2013 2 Sat_May_25_0 9: 45: 03_2013 2 the first column xaxis is the label, while the second column Yaxis for values. How can I plot it in the xaxis interval? For example, in the above dataset, I'd like to add only the weird xaxis labels, but still would like to conspirate every yaxis values In other words, xaxis label. How can I get it?
A file containing your data is in t.dat
set Aksdata Time set Time Fmti "% b_% d_% H:% M:% S_% Y" set format x "% d /% m /% y \ n% H:% M" plot "& lt; sed 's / [^ _] * _ // 't.dat' 1: 2 is using the title "y value" time FMT input time format Unfortunately, the name of the day is not a recognized value, so " a redirecting production Said command, which strips the day as input the first underscore. format output sets the dateline time, it change it to the desired format. / P>
No comments:
Post a Comment