Hi..
I am using proc template to produce forest plot. but default color for horizontal line is blue.
I needed black.
could anyone please help.
below is the piece of code for the same.
/*--Fourth column showing odds ratio graph--*/
layout overlay / xaxisopts=(label=" "
LABELPOSITION=CENTER labelattrs=(size=7) tickvalueattrs=(size=7)
linearopts=( tickvaluepriority=true tickvaluelist=(0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0)))
yaxisopts=(reverse=true display=none) walldisplay=none;
referenceline y=ref1 / lineattrs=(thickness=15 color=_bandcolor);
highlowplot y=obsid low=lower high=upper;
scatterplot y=obsid x=hr / markerattrs=(size=7 color=black symbol=squarefilled);
referenceline x=1;
Thanks.
but this is not working
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.