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;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: