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

I am attempting to create a graph that resembles the following:

 

sample_plot.jpg

I have been able to create something similar using SAS GTL scatterplot with xerrorlower and xerrorupper options. I figure I can add the p values using the annotate facility. However, I am stuck on how to create headers (Group A, Group B) for the visits along the y-axis. Adding color to the headers (as shown above) would also be great, but not a requirement. Any general guidance on this would be appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Jay54
Meteorite | Level 14

It is much easier to use the AxisTables in GTL or SGPLOT to create this kind of a graph.  See the ForestPlot example in recent paper:  http://support.sas.com/rnd/datavisualization/papers/2018/2180-2018.pdf

View solution in original post

2 REPLIES 2
Jay54
Meteorite | Level 14

It is much easier to use the AxisTables in GTL or SGPLOT to create this kind of a graph.  See the ForestPlot example in recent paper:  http://support.sas.com/rnd/datavisualization/papers/2018/2180-2018.pdf

hsaul
Calcite | Level 5

Thank you very much, Sanjay! That is an excellent paper and a great introduction to AxisTables - which I have not used before. I was able to create exactly what I needed. Your help, as always, is much appreciated!

 

sample_plot.jpg

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 2 replies
  • 480 views
  • 0 likes
  • 2 in conversation