☑ This topic is solved.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 12-02-2022 12:41 AM
(688 views)
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!
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
%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;
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
%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;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Exactly what I want!
(I did try several X1, Y1, HEIGHT numbers to find the perfect spot.つ﹏⊂)
(I did try several X1, Y1, HEIGHT numbers to find the perfect spot.つ﹏⊂)