Hi all,
Could you please advise how to make Graph area wider in Proc sgplot. Or should it be defined somewhere else?
ods graphics on / width=8in height=5in;
Specify both height and width. If you specify one, the other scales proportionately.
ods graphics on / width=8in height=5in;
Specify both height and width. If you specify one, the other scales proportionately.
Thank you!
Final code (if someone is interested):
proc sgplot data=F1 noautolegend;
styleattrs datacontrastcolors=(black)
datasymbols=(trianglefilled circlefilled squarefilled diamondfilled triangle circle square diamond)
datalinepatterns=(solid);
scatter x=PCTPT y=mean / group=TRT01A
grouporder=data
yerrorlower=lower
yerrorupper=upper
name = "Scatter" ;
series x=PCTPT y=mean / markers group=TRT01A name = "Series";
xaxis type = discrete;
yaxis type = log;
keylegend "Series" / location=outside position=topright across=1 noborder;
format PCTPT $PCTPTF.;
run;
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 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.