Hi, I'm playing with sgpanel and I'm I need help. Can I change colors of individual lines? Also how can I get rid of the connecting lines between first and last point? Here's the code I have: proc sort data=ramp;
by Month hour;
run;
proc means data=ramp noprint;
by Month hour;
var delta Temperature;
output out=Meanf mean=;
run;
proc sgplot data=Meanf;
series x=Hour y=delta / group=Month MARKERS LINEATTRS = (THICKNESS = 2 PATTERN = SOLID);
XAXIS LABEL = 'Hour' GRID VALUES = (0 TO 23 BY 1);
YAXIS LABEL = 'LOAD RAMP(MW)';
title 'Monthly Load Ramp Summary';
run;
proc format library=work;
value season
12,1,2 = 'Winter'
3,4,5 = 'Spring'
6,7,8 = 'Summer'
9,10,11 = 'Fall';
run;
proc sgpanel data=Meanf ;
panelby month /layout=panel rows=2 columns=2 onepanel ;
format month season.;
series x=Hour y=delta / group=Month MARKERS LINEATTRS = (THICKNESS = 2 PATTERN = SOLID) BREAK;
colaxis label="Temperature (degrees F)";
rowaxis label="Load Ramp (MW)";
title 'Load Ramp vs Temperature (overall)';
run;
... View more