Date: Tue, 24 May 2005 09:28:19 -0400
Reply-To: Bohai Sun <bohaisun88@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Bohai Sun <bohaisun88@YAHOO.COM>
Subject: Re: Graph: How to create a single GIF file contain 100 individual
GIF
On Mon, 23 May 2005 15:47:30 -0400, Richard A. DeVenezia
<radevenz@IX.NETCOM.COM> wrote:
>Bohai Sun wrote:
>> Dear SAS-L
>>
>> I have createed 100 individual GIF files in output folder for Lab test
>> parameters from a single program. How can I just create a single
>> file, let say ALL.GIF, which contain 100 files - FIG1.GIF, FIG2.GIF,
>> FIG3.GIF, and so on. Is this posssible?
>
>Bohai:
>
>You can use the GIFANIM graphics device.
>
>-------------------
>goptions reset=all device=gifanim gsfname=mygif delay=100;
>
>filename mygif "%sysfunc(pathname(WORK))\manyinhere.gif";
>
>goptions gsfmode = replace;
>
>proc gplot data=sashelp.class;
> plot weight*age;
>run;quit;
>
>goptions gsfmode = append;
>
>proc gplot data=sashelp.class;
> plot age*height;
>run;
>
>proc gplot data=sashelp.class;
> plot age*height=sex;
>run;
>
>proc gplot data=sashelp.class;
> plot weight*height;
> by sex notsorted;
>run;
>quit;
>
>goptions reset=all;
>
>options noxwait xmin;
>%sysexec start "my gif" iexplore %sysfunc(pathname(mygif));
>-------------------
>
>The question now is what viewing client will you use?
>The sample presumes internet explorer. You might be able to find some
tool
>that lets you control an animgif from within a webpage (vcr type controls:
>first,last,next,previous,etc..)
>
>--
>Richard A. DeVenezia
>http://www.devenezia.com/
Hi,
Eventuallly, all those GIF files will be converted and stacked to a
Word .doc file which will also 100 titles in TOC (table of Contents). I am
wondering if there are some kind of BY statement/options to subgroup by
the Lab test parameters in proc Gplot to create only a output.
BoHai
|