Graphics Programming

Data visualization using SAS programming, including ODS Graphics and SAS/GRAPH. Charts, plots, maps, and more!
BookmarkSubscribeRSS Feed
data_null__
Jade | Level 19

I'm doing a graph that is very similar to "12.3 Forest Plot" from "Statistical Graphics Procedures by Example".

I am using the X2AXIS to create a table of data values in the same way as in the example.  I want the tick lables of X2AXIS to be on the bottom not the top as in the example.

Seems like there should be an option but I don't see one.

4 REPLIES 4
Jay54
Meteorite | Level 14

When we use SGPLOT to create this graph, we are actually cheating, and using the X and X2 axes to create the appearance of a 2 cell graph in one cell.  While there may be more ways to cheat, and place the column labels at the bottom, I recommend you use GTL to create a good Forest Plot.  See previous articles on Forest Plot in Graphically Speaking SAS blog.

data_null__
Jade | Level 19

Thank you I will look at the BLOG.

data_null__
Jade | Level 19

I'm looking at your blog and I see several articles that refine forest plots in several ways.  From what I have seen the tabular data is still always displayed with some version of X2AXIS and the "column" labels that are actually tick labels are always on the top.  I just don't see a whole lot of difference between the programs in your book and the programs in the blog.  Is there a specific article I should be looking at?

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1756 views
  • 0 likes
  • 2 in conversation