Is there a way to align one of the columns to the right?
CODE:
layout overlay / HALIGN=RIGHT xaxisopts=(display=none)
yaxisopts=(reverse=true display=none) walldisplay=none;
referenceline y=ref / lineattrs=(thickness=15 color=_color);
scatterplot y=subgroups x=zero / markercharacter=drug1
markercharacterattrs=graphvaluetext;
endlayout;
I tried added HALIGN=RIGHT, and it still looks like this:
Thank you for all the help!
I'm not sure if this will work but try just=right or just=r.
Just tried. Still centered.
I'm at a loss, take a look and see if this helps:
SAS/GRAPH(R) 9.2: Statistical Graphics Procedures Guide, Second Edition
With SAS 9.3 you can use DataLabelPosition on the MarkerChar to align your data.
With SAS 9.4, you can use the Axis Table with many options.
Note, the HALIGN=RIGHT is for alignment of this layout itself inside the parent layout, and not for alignment of the text in a column.
Sorry to ask, but do you have an example?
What SAS release are you using? I an not sure what I can suggest with SAS 9.2.
Some Forest Plot examples are here: http://blogs.sas.com/content/graphicallyspeaking/?s=forest+plot
I'm currently using 9.3. TY
The link above shows you a full example of a Forest Plot using SAS 9.3. Go to bottom of article and click on link to see full program.
You can use a ScatterPlot with DataLabel to show the values. Set DataLabelPosition to left or right and set marker size =0.
You can also use HighLow plot with HighLabel or LowLabel to display the values. Program above uses HighLow plot.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.