I'm wondering if I can display all values of the "make" variable in PROC SGPLOT. The results display every second maker from the list: Audi, Buick, Chevrolet...I would like to know how to make this graph readable by itself.
Relatedly, can I make this graph larger? Perhaps it would be a good solution.
PROC FREQ is included below so that you can check the full list of makers. Thanks!
proc sgplot data= sashelp.cars;
hbar make; run;
proc freq data= sashelp.cars;
table make; run;
Hi:
You can use ODS GRAPHICS statement to change the size and you can use the YAXIS statement to control the "fit policy" which is what ODS Graphics uses to avoid the tick marks colliding with each other.
Hope this helps,
Cynthia
Hi:
You can use ODS GRAPHICS statement to change the size and you can use the YAXIS statement to control the "fit policy" which is what ODS Graphics uses to avoid the tick marks colliding with each other.
Hope this helps,
Cynthia
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 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.