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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.