proc sgpanel data=sashelp.iris;
panelby species / novarname columns=3;
reg x=sepallength y=sepalwidth;
run;
I'm working on the proc sgpanel plot (SAS 9.4) and need help with the font. Can I make the word "Setosa" (partly) italicized, like Setosa? Any help would be greatly appreciated!
%sganno
data sganno;
%SGRECTANGLE(X1=20,Y1=98,HEIGHT=3,WIDTH=20,DISPLAY="FILL",DRAWSPACE="LAYOUTPERCENT",FILLCOLOR="white")
%SGTEXT(LABEL="Se",WIDTH=100,DRAWSPACE="LAYOUTPERCENT",TEXTSIZE=9,X1=22,Y1=97.6,FILLCOLOR="white",FILLTRANSPARENCY=1)
%SGTEXTCONT(LABEL="tosa",TEXTSIZE=9,TEXTSTYLE="ITALIC")
run;
proc sgpanel data=sashelp.iris sganno=sganno;
panelby species / novarname columns=3 headerbackcolor=white;
reg x=sepallength y=sepalwidth;
run;
%sganno
data sganno;
%SGRECTANGLE(X1=20,Y1=98,HEIGHT=3,WIDTH=20,DISPLAY="FILL",DRAWSPACE="LAYOUTPERCENT",FILLCOLOR="white")
%SGTEXT(LABEL="Se",WIDTH=100,DRAWSPACE="LAYOUTPERCENT",TEXTSIZE=9,X1=22,Y1=97.6,FILLCOLOR="white",FILLTRANSPARENCY=1)
%SGTEXTCONT(LABEL="tosa",TEXTSIZE=9,TEXTSTYLE="ITALIC")
run;
proc sgpanel data=sashelp.iris sganno=sganno;
panelby species / novarname columns=3 headerbackcolor=white;
reg x=sepallength y=sepalwidth;
run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.