Second problem solved changing all the system of x values.
The problem of ROWWEIGHT is still there.
newcode (only data, template is the same):
data immune;
length cycle $10 xval yC3 yC4 8.;
infile datalines dlm=',';
input cycle $ xval yC3 yC4;
datalines;
Cycle1,0.5,1.080,0.131,
Cycle1,1.5,0.887,0.113,
Cycle2,2,.,.,
Cycle2,2.5,1.180,0.234,
Cycle2,3.5,1.360,0.281,
Cycle3,4,.,.,
Cycle3,4.5,1.000,0.228,
Cycle3,5.5,1.040,0.228,
Cycle4,6,.,.,
Cycle4,6.5,0.789,0.136,
Cycle4,7.5,0.861,0.148,
Cycle4,8,.,.,
;
run;
data firstrow;
length XAR 8. ROW $20 TITLE $20 REASON $50 CHAR $20 VAR $20;
infile datalines dlm=',';
input XAR ROW TITLE REASON CHAR VAR;
datalines;
0.5,ROW 1,ROW 1,FIRST REASON,FIRST ROW,FIRST VAR,
2,ROW 2,ROW 2,SECOND REASON,SECOND ROW,SECOND VAR,
4,ROW 3,ROW 3,THIRD REASON,THIRD ROW,THIRD VAR,
6,ROW 4,ROW 4,FOURTH REASON,FOURTH ROW,FOURTH VAR,
;
proc sort; by xar row; run;
data label;
length XLAB 8. STST $5 DATE $20 TIME $20;
infile datalines dlm=',';
input XLAB STST DATE TIME;
datalines;
0.5,START,01-JAN-2015,10:15,
1.25,STOP,15-JAN-2015,8:10,
2,START,01-FEB-2015,9:25,
3,STOP,15-FEB-2015,10:45,
4,START,01-MAR-2015,8:15,
5,STOP,15-MAR-2015,16:15,
6,START,01-APR-2015,21:10,
7,STOP,15-APR-2015,10:45,
;
proc sort; by xlab; run;
... View more