void plot_cool_single(double Ymin, double Ymax, char Time1[], char Time2[] ){ //------------------------------------------ // 2015.6.12 Taka Kondo (KEK) //------------------------------------------ //================================================== //----set start and end days , yminPlot and ymaxPlot for plot ---------- int t1, t2, yr1,yr2,mo1,mo2,dy1,dy2,hr1,hr2,mi1,mi2; const char z[]=" -:"; yr1 = atoi(strtok(Time1,z)); mo1 = atoi(strtok(0,z)); dy1 = atoi(strtok(0,z)); hr1 = atoi(strtok(0,z)); mi1 = atoi(strtok(0,z)); yr2 = atoi(strtok(Time2,z)); mo2 = atoi(strtok(0,z)); dy2 = atoi(strtok(0,z)); hr2 = atoi(strtok(0,z)); mi2 = atoi(strtok(0,z)); ==============================================