Need help please,
Hi all, I would like to delete the inner borders (the right and top borders of the graph), only keep the lines/borders of the X and Y axes. I have tried to use the following codes to remove the right and top inner borders, but could not succeed.
Thank you!
ods graphics / noborder;
proc sgplot data=MeanData noautolegend; title;
styleattrs datacontrastcolors=(red green black) wallcolor=white;
loess x=t y=Means / group=Treatment nomarkers smooth=0.3 lineattrs=(thickness=3);
xaxis label="Days" max=100 labelattrs=(size=16) valueattrs=(size=14);
yaxis label=“OD, g/d" max=30 values=(0 to 50 by 5) labelattrs=(size=16) valueattrs=(size=14);
x2axis display=none;
y2axis display=none;
run;
Could you post a desired graph to explain what you are looking for ?
And you want this ?
ods graphics / noborder; proc sgplot data=sashelp.heart(obs=1000) noautolegend noborder; title ; styleattrs datacontrastcolors=(red green black) wallcolor=white; loess x=height y=weight / group=bp_status nomarkers smooth=0.3 lineattrs=(thickness=3); xaxis label="Days" labelattrs=(size=16) valueattrs=(size=14); yaxis label="OD, g/d" labelattrs=(size=16) valueattrs=(size=14); x2axis display=none; y2axis display=none; run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.