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 (September 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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;


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