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.
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 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.