BookmarkSubscribeRSS Feed
Celine_France
Calcite | Level 5
Hey everybody,

I use a proc GPLOT to make some graphs but in my RTF ODS, I have only one graph by page. How can I obtain 6 graphs by page for example (in 2 colums and 3 lines) ?

By advance, thanks a lot,

Céline
6 REPLIES 6
Bill
Quartz | Level 8
Celine;

You will need to produce the 6 individual graphs to the approximate size required (use hsize & vsize options) into a catalog (default is gseg). You then need to replay these 6 charts into the final rtf file using proc greplay.

hth
Andre
Obsidian | Level 7
Celine

Gplot so you are using sas graph on 9.1.3 i suppose
with ods you have two manners to reach this

with ods pdf using goptions like hsize vsize horigin and vorigin
and ods pdf startpage=...... you main obtain it quite quickly page24

but under ods rtf i think the only way is to make use of the proc greplay
with the appropiate template page 20

see my contribution to French Club STAT and Pharma 2008
at
http://etudes.ebi-edu.com/sas_pharma/modules.php?name=Downloads&d_op=viewdownload&cid=4

8th text

HTH
Andre
Celine_France
Calcite | Level 5
Bill and Andre,

thanks a lot for your answers. I did know proc greplay which is quite useful. I don't know how to create a template so I used v3s in order to have 3 graphs in 1 column. Then, I made some "copy-paste" in word. On word, I asked to present my document into 2 colums. So, I obtained what I would like : 6 graphs on 1 page !

Again, thanks a lot,

Céline
ChrisNZ
Tourmaline | Level 20
Double-click on sashelp.templt.v3s and look at the 3 place holders' coordinates in the log, in the form lower-left x, lower-left y, etc.

You can then make your own easily: look up statement TDEF in the proc GREPLAY doc. The doc has an example for a five panel template.
Celine_France
Calcite | Level 5
Chris@NewZealand,

Thanks to your information, I have created my template ! Thanks a lot !

Here is the code if it can help someone :

proc greplay tc=work.Templt
nofs;
tdef L3r3s des="3 BOXES LEFT, 3 BOXES RIGHT (WITH SPACE)"
1/llx=0 lly=70
ulx=0 uly=100
urx=48 ury=100
lrx=48 lry=70
color=black
2/llx=00 lly=35
ulx=00 uly=65
urx=48 ury=65
lrx=48 lry=35
color=black
3/llx=00 lly=00
ulx=00 uly=30
urx=48 ury=30
lrx=48 lry=00
color=black
4/llx=52 lly=70
ulx=52 uly=100
urx=100 ury=100
lrx=100 lry=70
color=black
5/llx=52 lly=35
ulx=52 uly=65
urx=100 ury=65
lrx=100 lry=35
color=black
6/llx=52 lly=00
ulx=52 uly=30
urx=100 ury=30
lrx=100 lry=00
color=black;
quit;

Enjoy your week-end !

Céline

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 1001 views
  • 0 likes
  • 4 in conversation