I am drawing a timeseries graph with different groups using a BY statement. These groups are percentiles and I am drawing only the top and bottom 10 percentiles. How do I tell SAS to use dash lines for the top 10 groups and solid lines for the bottom 10 groups? Currently, it is using dash line for the top 8 or 9 groups and then solid for the rest. My code is:
proc sgplot data = sample;
where percentile<=10 or percentile>=91;
series x=t y=price/group=percentile curvelabel curvelabelpos=end curvelabelloc=outside;
run;
Have you seen this page? https://support.sas.com/kb/35/864.html
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.