Does SGPLOT have NOFRAME? It is not NOBORDER. Here's the code.
data _;
do i=1 to 100;
x=rannor(1);
y=x+rannor(1);
output;
end;
run;
ods listing gpath="!userprofile\desktop\";
ods graphics/reset;
proc sgplot;
scatter x=x y=y;
run;
I wonder whether the red part can be removed.
Thanks for your help.
Check the documentation for stuff like this:
NOBORDER and NOWALL look promising.
@Junyong wrote:
Does SGPLOT have NOFRAME? It is not NOBORDER. Here's the code.
data _; do i=1 to 100; x=rannor(1); y=x+rannor(1); output; end; run; ods listing gpath="!userprofile\desktop\"; ods graphics/reset; proc sgplot; scatter x=x y=y; run;
I wonder whether the red part can be removed.
Thanks for your help.
Check the documentation for stuff like this:
NOBORDER and NOWALL look promising.
@Junyong wrote:
Does SGPLOT have NOFRAME? It is not NOBORDER. Here's the code.
data _; do i=1 to 100; x=rannor(1); y=x+rannor(1); output; end; run; ods listing gpath="!userprofile\desktop\"; ods graphics/reset; proc sgplot; scatter x=x y=y; run;
I wonder whether the red part can be removed.
Thanks for your help.
Are you actually sending the result to the LISTING destination? That may be the problem as many of the ODS features are problematic.
With the HTML results window
data _; do i=1 to 100; x=rannor(1); y=x+rannor(1); output; end; run; ods listing gpath="!userprofile\desktop\"; ods graphics/reset; proc sgplot; scatter x=x y=y; run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.