LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 9 Jun 2010 16:27:41 -0700
Reply-To:     "Sprague, Webb (OFM)" <Webb.Sprague@OFM.WA.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Sprague, Webb (OFM)" <Webb.Sprague@OFM.WA.GOV>
Subject:      Re: Inserting a table in an ODS REGION?
In-Reply-To:  <201006092251.o59Lhv0w004980@malibu.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"

I am working in landscape, though maybe ... 5.25 + 3.5 puts me off the page...

I will fiddle with this again tomorrow. Thanks!

> -----Original Message----- > From: Ya Huang [mailto:ya.huang@AMYLIN.COM] > Sent: Wednesday, June 09, 2010 3:51 PM > To: SAS-L@LISTSERV.UGA.EDU; Sprague, Webb (OFM) > Cc: Ya Huang > Subject: Re: Inserting a table in an ODS REGION? > > Just noticed that you used x= y=: > > ods region x=5.25 y=4.00in width=5.0 height=3.5; > > If I understand correctly, x= and y= is the position of > the region's origin. Your definition move the origin to the corner, > so you have run out of space. Can you try x=0.5in y=0.5in? > > > On Wed, 9 Jun 2010 15:45:54 -0700, Sprague, Webb (OFM) > <Webb.Sprague@OFM.WA.GOV> wrote: > > >> Without using a layout, print the largest table, measure it, and see > >if > >> your region dimensions are realistic. > > > >I switched to using the gridded approach. I might be wrong, but I > think > >the absolute region specification approach is buggy; I set my graphics > >size with ods graphics, but it still wouldn't work in a certain cell. > >To heck with it. > > > >Thanks to everyone for their help. > > > >> > >> -----Original Message----- > >> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of > >> Sprague, Webb (OFM) > >> Sent: Wednesday, June 09, 2010 3:05 PM > >> To: SAS-L@LISTSERV.UGA.EDU > >> Subject: Re: Inserting a table in an ODS REGION? > >> > >> Hmm... I was hoping NOT to use the gridded ods approach (with rows > and > >> columns) but rather the absolute, like: > >> > >> ods layout start; > >> ods region x=5.25 y=4.00in width=5.0 height=3.5; > >> > >> I will keep hacking at it, though, and maybe go back to the gridded. > >> > >> Thanks! > >> > -----Original Message----- > >> > From: Huang, Ya [mailto:Ya.Huang@amylin.com] > >> > Sent: Wednesday, June 09, 2010 12:02 PM > >> > To: Sprague, Webb (OFM); SAS-L@LISTSERV.UGA.EDU > >> > Subject: RE: Re: Inserting a table in an ODS REGION? > >> > > >> > Ok, it has something to do with ods layout start statement: > >> > > >> > This will give you the message "WARNING: The absolute region was > too > >> > small to accommodate the text supplied. OUTPUT WAS LOST." > >> > > >> > ods listing close; > >> > ods pdf file="c:\temp\junk.pdf"; > >> > ods layout start;* rows=3 columns=2; > >> > > >> > ods region row=1 column_span=2; > >> > proc print data=sashelp.class (obs=2); > >> > run; > >> > > >> > ods layout end; > >> > ods pdf close; > >> > > >> > If you uncomment the "row=2 columns=2" from ods layout start > >> statement, > >> > it will > >> > work fine. So, it seems that we can't ignore those options for ods > >> > layout start statement. > >> > > >> > > >> > -----Original Message----- > >> > From: Sprague, Webb (OFM) [mailto:Webb.Sprague@ofm.wa.gov] > >> > Sent: Wednesday, June 09, 2010 11:06 AM > >> > To: Huang, Ya; SAS-L@LISTSERV.UGA.EDU > >> > Subject: RE: Re: Inserting a table in an ODS REGION? > >> > > >> > Replies below ... > >> > > >> > > Most likely your proc print has too many lines that won't fit in > >> the > >> > > region. Try proc print data=xx (obs=5), see if it fit in this > >time. > >> > > Also, you can reduce the size of the image, which may take too > >much > >> > > space. If you really need to squeeze in all of them, you need to > >> > > reduce the font size for proc print. > >> > > >> > I tried (obs=3), still have the same problem. > >> > > >> > Tried style with a fontsize of 5pt, same problem. > >> > > >> > There is no way to reduce the size of an image for the table > (though > >> I > >> > tried it anyway). > >> > > >> > How does one even know how to proceed with this? Is there a way > to > >> > find > >> > out how large the table being produced is, so that I can tweak it > >> > without being in the dark? > >> > > >> > Thanks to all for the help!


Back to: Top of message | Previous page | Main SAS-L page