Date: Thu, 21 Sep 2006 15:31:42 -0700
Reply-To: "Mogens A. Krogh" <MKROGH@DSR.KVL.DK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Mogens A. Krogh" <MKROGH@DSR.KVL.DK>
Organization: http://groups.google.com
Subject: Re: ODS, proc gplot, gif file name
Content-Type: text/plain; charset="iso-8859-1"
Dear Sawpit,
You can use the name= -option in the plot-statement, but if you run the
gplot-procedure multiple times they too will generate indexes.
A bit of sample code is included below.
Regards
Mogens A. Krogh
DVM, PhD-student
www.kvl.dk
%let outfile=testdata.gif;
ods listing close;
goptions
reset=all cback=white colors=(black red green blue) border device=gif
keymap=winansi devmap=winansi border ftitle=swissb ftext=swissl
htitle=1.8 htext=1.0;
ods html gpath="D:\";
Title1 "First Order Polynomial Model";
title2 "Red line-raw data Blue line-Filtered Data";
symbol1 i=join color=red l=1;
symbol2 i=join color=blue l=2;
axis1 label=(angle=90 "Daily Weight Gain");
proc gplot data=exercise2;
plot gain*time mt*time/overlay grid vaxis=axis1 name="&outfile.";
run;
ods html close;
ods listing;
|