| Date: | Fri, 6 Feb 2004 14:51:23 -0500 |
| Reply-To: | "Chakravarthy, Venky" <Venky.Chakravarthy@PFIZER.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Chakravarthy, Venky" <Venky.Chakravarthy@PFIZER.COM> |
| Subject: | Re: How to copy SAS/Graph into word document |
|
| Content-Type: | text/plain; charset="iso-8859-1" |
|---|
Instead, you could use ODS RTF to write a graph directly to word. You are
limited in the number of fonts and may need to tweak the size of the output
with GOPTIONS:
data q ;
do x = "26dec2003"d to "15jan2004"d ;
y = ceil(100*ranuni(x)) ;
output ;
end ;
run ;
options orientation = landscape ;
ods listing close ;
ods noresults ;
ods rtf file = "c:\c_data\junk\rtf\graphtest.rtf" ;
goptions reset = all ;
axis1 order = "01jan2004"d to "15jan2004"d ;
proc gplot data = q ;
plot y*x / haxis = axis1 ;
format x date9. ;
run ;
quit ;
ods rtf close ;
ods listing ;
Kind Regards,
_________________________________
Venky Chakravarthy
E-mail: swovcc_AT_hotmail_DOT_com
-----Original Message-----
From: Matt Jin [mailto:wjin2@UNITY.NCSU.EDU]
Sent: Friday, February 06, 2004 2:07 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: How to copy SAS/Graph into word document
I want to copy a graph from SAS/Graph into word or other software.
I know SAS/Graph can save the graph to other kind of format such as
JPEG/GIF. But the quality of the image is not good when inserted into word.
I tried directly use Edit->Copy from SAS/Graph and paste into word, but the
pasted image only shows a portion(upper-left corner) of the graph.
Help will be greately appreaciated.
Matt
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
|