good day all,
i am used graph for proc sgplot procedure.
i am getting the output but the what the problem was i dont want keylegend location in graph anywhere. its missing blank.
i follow these code.
PROC SGPLOT DATA=test;
XAXIS VALUES=(0 to 100 BY 10) ;
YAXIS VALUES=(0 to 100 BY 25);
SERIES X=x Y=y / LINEATTRS=(THICKNESS=2) NAME="series1";
SCATTER X=x Y=y1 / MARKERATTRS=(symbol=squarefilled COLOR=orange size=12);
keylegend "series1" RUN;
QUIT;
so how to remove the keylegend location in proc sgplot.
Drop the keylegend statement, and add option noautolegend. In the documentation:
SAS/GRAPH(R) 9.2: Statistical Graphics Procedures Guide, Second Edition
Drop the keylegend statement, and add option noautolegend. In the documentation:
SAS/GRAPH(R) 9.2: Statistical Graphics Procedures Guide, Second Edition
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.