| Date: | Fri, 3 Dec 2004 19:58:19 -0500 |
| Reply-To: | Ya Huang <ya.huang@AMYLIN.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Ya Huang <ya.huang@AMYLIN.COM> |
| Subject: | Re: a question about SAS/graph |
|
Wensui,
You need to use goptions to define the driver. Also in goption,
you need to specify the gsfname which has be to defined prior
to goptions statement with a filename statement:
----
filename fout "c:\temp\junk.gif";
goptions reset=all device=gif570 gsfname=fout gsfmode=replace;
proc gplot data=sashelp.class;
plot weight*height;
run;
---
Kind regards,
Ya Huang
On Fri, 3 Dec 2004 19:30:12 -0500, Wensui Liu <liuwensui@GMAIL.COM> wrote:
>Dear All,
>
>How to write a code to export a SAS graph to a specific directory with
>a given name in a specific format, say 'c:\temp\plot\chart1.gif'?
>
>Thank you so much in advance!
>
>--
>WenSui Liu, MS MA
>Senior Decision Analyst
>Division of Health Policy and Clinical Effectiveness
>E-mail: wensui.liu@chmcc.org
|