Does anyone know to shrink the size of the plot inside a frame? Should I use annot? any option I or statement I should use?
Thanks a lot!
Here are the code I used. and please see the attachment. label and swimmer plot are overlapped.
Data anno2;
length label $200 x1space $20 y1space $20 ;
retain function "text" anchor "left";
x1space="Graphpercent";
x1=5;
y1space="Graphpercent";
y1=96.5;
width=200;
label="Subject(*)";
id="xxxx";
run;
data anno2_;
set swimmer;
keep item subjid;
run;
data anno2_;
set anno2_;
length label $200 x1space $20 y1space $20 ;
retain function "text" anchor "left";
x1space="Graphpercent";
x1=5;
y1space="DATAVALUE";
y1=item;
width=0;
label=strip(subjid);
id="xxxx";
run;
data anno2;
set anno2 anno2_;
run;
proc sgrender data=swimmer template=swimmer_plot sganno=anno2;
run;
Some advice to write a better post:
1. Use the {i} or the running man icon to post code
2. Avoid attaching MS Office files, many people can't or won't download them from the internet
3. An image can be added inline using the Camera icon
4. Providing a full program that includes test data ensures that people can recommend a suitable solution sooner
Some advice to write a better post:
1. Use the {i} or the running man icon to post code
2. Avoid attaching MS Office files, many people can't or won't download them from the internet
3. An image can be added inline using the Camera icon
4. Providing a full program that includes test data ensures that people can recommend a suitable solution sooner
Thank you! will follow.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.