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;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.