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.
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
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.