BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
abhinayingole
Obsidian | Level 7

 

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. 

 

 

abhinayingole_0-1643883037594.png

 

 

	/*--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;
		  

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
Sorry. It should be :

highlowplot y=obsid low=lower high=upper / lineattrs=(color=black) ;

View solution in original post

3 REPLIES 3
Ksharp
Super User
I am not sure.

highlowplot y=obsid low=lower high=upper;
scatterplot y=obsid x=hr / lineattrs=(color=black) ;
abhinayingole
Obsidian | Level 7

Thanks.

but this is not working

Ksharp
Super User
Sorry. It should be :

highlowplot y=obsid low=lower high=upper / lineattrs=(color=black) ;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 587 views
  • 0 likes
  • 2 in conversation