04-09-2015 08:53 AM
Is there a way to align one of the columns to the right?
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
I tried added HALIGN=RIGHT, and it still looks like this:
Thank you for all the help!
04-09-2015 01:04 PM
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.
04-09-2015 04:45 PM
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
04-09-2015 04:56 PM
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.