Hi Everyone,
I am trying to create below graph
where I have to show different pattern : If the subject has positive or negative values in variable VAR1.
and show different color : If a subject has different values in variable VAR2.
I have tried using some default PROC TEMPLATE "style" present but it works only for a particular group .
Could some please suggest me a solution for this.
thank you in advance.
I suggest you give us an example of what you want to achieve using one of the SASHELP tables, like AIR or CLASS. This way we can reuse your code and modify it as needed.
Also, post images as images. No one wants to download MS Word documents.
Hi @ChrisNZ ,
for example if I consider dataset BASEBALL from SASHELP where NAME should be on x-axis and NHITS will be displayed on y-axis and different TEAM displayed with different color and different LEAGUE with different patter. while team and league will also be displayed in legend.
ods rtf file="path xyz" style=Journal2 nogtitle nogfootnote;
I have used Journal2 and expecting help for other steps.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.