04-08-2014 08:13 AM
I wrote a paper a while back called "Now You Can Annotate Your Statistical Graphics Procedure Graphs" (http://support.sas.com/resources/papers/proceedings11/277-2011.pdf) that contains examples for creating output similar to your needs. The SG procedure annotation facility requires at least SAS 9.3. Let me know if you can't find an example that works for you, or if you have an questions.
04-08-2014 09:22 AM
I didnt get the type of graph i find. i created a program like below but not bale to assemble the Number of subjects properly.
data anno(drop=n visit_1);
proc sgplot data=test2 noautolegend sganno=anno pad=(bottom=12%);
highlow x=visit_1 high=high low=low / highcap=serif lowcap=serif highlabel=label;
scatter x=visit_1 y=mean / group=visit_1 groupdisplay=cluster;
Yaxis values=(0 to 18 by 2) label="Dose";
Xaxis label="Number shown in the graph is Number of Subjects in that Particular Visit";
04-08-2014 09:49 AM
|visit_1||number of subjects|
with my code above i was trying to display number of subjects below the X-axis
04-08-2014 08:45 AM
You may not need the "SG annotate facility" to achieve something as simple as a table of Ns. I have done this with BLOCKPLOT statement and there is a new XAXISTABLE statement that seems even better but I have not used that.
Look at the examples in the blogs before you do anything too drastic.