<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using ods to output SAS chart to Word - odd formatting? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36340#M5211</link>
    <description>Lynn;&lt;BR /&gt;
&lt;BR /&gt;
I don't see any reference to a specific graphics device after reset=all.  For input to Word, I think that the best one to use is the png driver. &lt;BR /&gt;
&lt;BR /&gt;
Some code below that I've used in the past.  It produces a png file that can be imported into Word.&lt;BR /&gt;
&lt;BR /&gt;
goptions reset=all  &lt;BR /&gt;
         rotate=landscape&lt;BR /&gt;
         ftext="helvetica"&lt;BR /&gt;
         htext=2.0&lt;BR /&gt;
 xmax=6in ymax=3.5in xpixels=1800 ypixels=1050&lt;BR /&gt;
&lt;BR /&gt;
dev=png   gsfmode=replace;&lt;BR /&gt;
&lt;BR /&gt;
filename grf1 '\\technology\qualsysshare\groupspecific\reportsmonthly\reapcovr.png';&lt;BR /&gt;
&lt;BR /&gt;
goptions gsfname=grf1;&lt;BR /&gt;
&lt;BR /&gt;
proc gslide frame lframe=14 wframe=20 cframe=steel;&lt;BR /&gt;
note h=4;&lt;BR /&gt;
note h=8 j=c "PRODUCT QUALITY REPORT";&lt;BR /&gt;
note h=2;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
wd</description>
    <pubDate>Wed, 06 Aug 2008 13:33:33 GMT</pubDate>
    <dc:creator>Bill</dc:creator>
    <dc:date>2008-08-06T13:33:33Z</dc:date>
    <item>
      <title>Using ods to output SAS chart to Word - odd formatting?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36339#M5210</link>
      <description>Hello~ I've spent a great deal of time formatting a chart in SAS, which I then pulled into Word using ods (rtf file.) Unfortunately, the chart that shows up in Word is cut off, and you can't see all the text. The words in the legend also are longer than the legend box. Am I doing something wrong?&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated, I would like to automate these tables rather than copying &amp;amp; pasting. Thanks! My SAS code is below.&lt;BR /&gt;
&lt;BR /&gt;
/* FORMAT CHART 1 */&lt;BR /&gt;
ods rtf file="N:\2008\08-0116\mkt_sci\Lynn\Output\forreport.rtf"; *style=minimal;&lt;BR /&gt;
&lt;BR /&gt;
goptions reset=all cback=white norotate; *rotate=landscape;&lt;BR /&gt;
&lt;BR /&gt;
title1 &lt;BR /&gt;
	font='Arial' height=2.5 'Overall Satisfaction with *****';&lt;BR /&gt;
title2 &lt;BR /&gt;
	font='Arial' height=2 'Mean Score and Top Box Percent';&lt;BR /&gt;
&lt;BR /&gt;
symbol1 &lt;BR /&gt;
	line=1 			/* Specifies type of line (solid, dotted, etc) */&lt;BR /&gt;
	interpol=join 	/* Joins points together */&lt;BR /&gt;
	color=navy		/* Specifies color of line */&lt;BR /&gt;
	cv=navy 		/* Specifies color of plot symbol */&lt;BR /&gt;
	width=1 		/* Specifies width of plot symbol */&lt;BR /&gt;
	value=none; 	/* Specifies what symbol is */&lt;BR /&gt;
symbol2 &lt;BR /&gt;
	line=2&lt;BR /&gt;
	interpol=join&lt;BR /&gt;
	color=navy&lt;BR /&gt;
	cv=navy&lt;BR /&gt;
	width=1&lt;BR /&gt;
	value=none;&lt;BR /&gt;
&lt;BR /&gt;
axis1 &lt;BR /&gt;
	label=none value=(font=arial height=1.5 angle=90 'Jun-06' 'Jul-06' 'Aug-06' 'Sep-06' &lt;BR /&gt;
		  'Oct-06' 'Nov-06' 'Dec-06' 'Jan-07' 'Feb-07' 'Mar-07' 'Apr-07' 'May-07' 'Jun-07' &lt;BR /&gt;
		  'Jul-07' 'Aug-07' 'Sep-07' 'Oct-07' 'Nov-07' 'Dec-07' 'Jan-08' 'Feb-08' 'Mar-08' &lt;BR /&gt;
		  'Apr-08' 'May-08' 'Jun-08') offset=(2) width=3 order=(218 to 242 by 1);&lt;BR /&gt;
  &lt;BR /&gt;
&lt;BR /&gt;
axis2 &lt;BR /&gt;
	label=(font=arial height=1.5 'Mean' justify=right 'Score') value=(font=arial height=1.5)&lt;BR /&gt;
	order=(-2 to 2 by 1) width=3;&lt;BR /&gt;
axis3 &lt;BR /&gt;
	label=(font=arial height=1.5 'Top Box' justify=left 'Percent') value=(font=arial height=1.5)&lt;BR /&gt;
	order=(0 to 100 by 25) width=3;&lt;BR /&gt;
&lt;BR /&gt;
legend1 &lt;BR /&gt;
	cborder=black	/* Border for legend */&lt;BR /&gt;
	position=inside /* Places legend inside chart */&lt;BR /&gt;
	mode=protect  	/* Legend covers any points that would otherwise appear in the same place */&lt;BR /&gt;
	value=(font=arial height=2 tick=1 'Mean Score' tick=2 'Percent saying "Very Satisfied"') across=1 label=none;&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
 	picture pctfmt (round) &lt;BR /&gt;
		0-high='000%';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
/* CHART 1 */&lt;BR /&gt;
ods rtf file="N:\2008\08-0116\mkt_sci\Lynn\Output\chart1.rtf"; *style=minimal;&lt;BR /&gt;
proc gplot data=mvr.chart;&lt;BR /&gt;
	format mtopq1 pctfmt.;&lt;BR /&gt;
	plot meanq1*wave=1 mtopq1*wave=2/overlay haxis=axis1 hminor=0 &lt;BR /&gt;
		 vaxis=axis2 vminor=0 legend=legend1 vref=0;&lt;BR /&gt;
	plot2 mtopq1*wave=2/vaxis=axis3 vminor=0 legend=legend1;&lt;BR /&gt;
run; quit;&lt;BR /&gt;
ods rtf close;</description>
      <pubDate>Tue, 05 Aug 2008 18:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36339#M5210</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-08-05T18:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using ods to output SAS chart to Word - odd formatting?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36340#M5211</link>
      <description>Lynn;&lt;BR /&gt;
&lt;BR /&gt;
I don't see any reference to a specific graphics device after reset=all.  For input to Word, I think that the best one to use is the png driver. &lt;BR /&gt;
&lt;BR /&gt;
Some code below that I've used in the past.  It produces a png file that can be imported into Word.&lt;BR /&gt;
&lt;BR /&gt;
goptions reset=all  &lt;BR /&gt;
         rotate=landscape&lt;BR /&gt;
         ftext="helvetica"&lt;BR /&gt;
         htext=2.0&lt;BR /&gt;
 xmax=6in ymax=3.5in xpixels=1800 ypixels=1050&lt;BR /&gt;
&lt;BR /&gt;
dev=png   gsfmode=replace;&lt;BR /&gt;
&lt;BR /&gt;
filename grf1 '\\technology\qualsysshare\groupspecific\reportsmonthly\reapcovr.png';&lt;BR /&gt;
&lt;BR /&gt;
goptions gsfname=grf1;&lt;BR /&gt;
&lt;BR /&gt;
proc gslide frame lframe=14 wframe=20 cframe=steel;&lt;BR /&gt;
note h=4;&lt;BR /&gt;
note h=8 j=c "PRODUCT QUALITY REPORT";&lt;BR /&gt;
note h=2;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
wd</description>
      <pubDate>Wed, 06 Aug 2008 13:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36340#M5211</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2008-08-06T13:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using ods to output SAS chart to Word - odd formatting?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36341#M5212</link>
      <description>Lynn,&lt;BR /&gt;
Did you follow the advice of&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/technote/ts674/ts674.html" target="_blank"&gt;http://support.sas.com/techsup/technote/ts674/ts674.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
i have read your text this european morning.i did not reply due to lack of data&lt;BR /&gt;
which could be better forwarded on sas-l than here (as this could be too long).&lt;BR /&gt;
I agree with Bill advice for png ; you have no dimension vsize/hsize or &lt;BR /&gt;
  change in xmax/ymax xsize/ysize?&lt;BR /&gt;
It seems to me that you have adjust your graphic to pure sas graph  (gseg dimension screen)&lt;BR /&gt;
For me the first question in graphic sas matter is What kind of final graph do you want to produce?&lt;BR /&gt;
Pulling into Word? what does it mean for you?&lt;BR /&gt;
See also &lt;A href="http://robslink.com/SAS/democd11/aaaindex.htm" target="_blank"&gt;http://robslink.com/SAS/democd11/aaaindex.htm&lt;/A&gt;  where you can see  images and code    everytime with  greatly varying.goptions&lt;BR /&gt;
&lt;BR /&gt;
Andre</description>
      <pubDate>Wed, 06 Aug 2008 14:54:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36341#M5212</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2008-08-06T14:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using ods to output SAS chart to Word - odd formatting?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36342#M5213</link>
      <description>Thank you both so much for your replies! They were extremely helpful for a novice SAS user like myself.&lt;BR /&gt;
&lt;BR /&gt;
Bill, I used pieces of the code you posted and am now able to generate the graph I need. &lt;BR /&gt;
&lt;BR /&gt;
Andre, I am using the SAS support document you referenced to figure out how to output my tables and graphs in one Word document using ODS. And the other link you provided is a great reference!</description>
      <pubDate>Wed, 06 Aug 2008 20:04:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-ods-to-output-SAS-chart-to-Word-odd-formatting/m-p/36342#M5213</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-08-06T20:04:44Z</dc:date>
    </item>
  </channel>
</rss>

