<?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: statgraphics and latex destination in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/statgraphics-and-latex-destination/m-p/125947#M4878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;\includegraphics{fragment01.pdf}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\sascontents[3]{Residual by Distance}&lt;/P&gt;&lt;P&gt;\includegraphics[width=\textwidth]{ps/DDPlot.png}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those tex code lines are indirect ways to insert graphics and are accepted&lt;/P&gt;&lt;P&gt;under Miktek2.9&amp;nbsp;&amp;nbsp; with the Winedt editor&lt;/P&gt;&lt;P&gt;but i have had to produce them under supplemental ods steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for .ps files (native ods latex sas production&lt;/P&gt;&lt;P&gt;who know the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2012 11:33:38 GMT</pubDate>
    <dc:creator>Andre</dc:creator>
    <dc:date>2012-11-14T11:33:38Z</dc:date>
    <item>
      <title>statgraphics and latex destination</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/statgraphics-and-latex-destination/m-p/125946#M4877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: times new roman,times;"&gt;With this code (under 9.3.2)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname tex "d:\notes\latex\";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data stack;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input&amp;nbsp; x1 x2 x3 y exp $ @@;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;80&amp;nbsp; 27&amp;nbsp;&amp;nbsp; 89&amp;nbsp; 42&amp;nbsp;&amp;nbsp; e1&amp;nbsp;&amp;nbsp; 80&amp;nbsp; 27&amp;nbsp;&amp;nbsp; 88&amp;nbsp; 37&amp;nbsp;&amp;nbsp; e2&lt;/P&gt;&lt;P&gt;75&amp;nbsp; 25&amp;nbsp;&amp;nbsp; 90&amp;nbsp; 37&amp;nbsp;&amp;nbsp; e3&amp;nbsp;&amp;nbsp; 62&amp;nbsp; 24&amp;nbsp;&amp;nbsp; 87&amp;nbsp; 28&amp;nbsp;&amp;nbsp; e4&lt;/P&gt;&lt;P&gt;62&amp;nbsp; 22&amp;nbsp;&amp;nbsp; 87&amp;nbsp; 18&amp;nbsp;&amp;nbsp; e5&amp;nbsp;&amp;nbsp; 62&amp;nbsp; 23&amp;nbsp;&amp;nbsp; 87&amp;nbsp; 18&amp;nbsp;&amp;nbsp; e6&lt;/P&gt;&lt;P&gt;62&amp;nbsp; 24&amp;nbsp;&amp;nbsp; 93&amp;nbsp; 19&amp;nbsp;&amp;nbsp; e7&amp;nbsp;&amp;nbsp; 62&amp;nbsp; 24&amp;nbsp;&amp;nbsp; 93&amp;nbsp; 20&amp;nbsp;&amp;nbsp; e8&lt;/P&gt;&lt;P&gt;58&amp;nbsp; 23&amp;nbsp;&amp;nbsp; 87&amp;nbsp; 15&amp;nbsp;&amp;nbsp; e9&amp;nbsp;&amp;nbsp; 58&amp;nbsp; 18&amp;nbsp;&amp;nbsp; 80&amp;nbsp; 14&amp;nbsp; e10&lt;/P&gt;&lt;P&gt;58&amp;nbsp; 18&amp;nbsp;&amp;nbsp; 89&amp;nbsp; 14&amp;nbsp; e11&amp;nbsp;&amp;nbsp; 58&amp;nbsp; 17&amp;nbsp;&amp;nbsp; 88&amp;nbsp; 13&amp;nbsp; e12&lt;/P&gt;&lt;P&gt;58&amp;nbsp; 18&amp;nbsp;&amp;nbsp; 82&amp;nbsp; 11&amp;nbsp; e13&amp;nbsp;&amp;nbsp; 58&amp;nbsp; 19&amp;nbsp;&amp;nbsp; 93&amp;nbsp; 12&amp;nbsp; e14&lt;/P&gt;&lt;P&gt;50&amp;nbsp; 18&amp;nbsp;&amp;nbsp; 89&amp;nbsp;&amp;nbsp; 8&amp;nbsp; e15&amp;nbsp;&amp;nbsp; 50&amp;nbsp; 18&amp;nbsp;&amp;nbsp; 86&amp;nbsp;&amp;nbsp; 7&amp;nbsp; e16&lt;/P&gt;&lt;P&gt;50&amp;nbsp; 19&amp;nbsp;&amp;nbsp; 72&amp;nbsp;&amp;nbsp; 8&amp;nbsp; e17&amp;nbsp;&amp;nbsp; 50&amp;nbsp; 19&amp;nbsp;&amp;nbsp; 79&amp;nbsp;&amp;nbsp; 8&amp;nbsp; e18&lt;/P&gt;&lt;P&gt;50&amp;nbsp; 20&amp;nbsp;&amp;nbsp; 80&amp;nbsp;&amp;nbsp; 9&amp;nbsp; e19&amp;nbsp;&amp;nbsp; 56&amp;nbsp; 20&amp;nbsp;&amp;nbsp; 82&amp;nbsp; 15&amp;nbsp; e20&lt;/P&gt;&lt;P&gt;70&amp;nbsp; 20&amp;nbsp;&amp;nbsp; 91&amp;nbsp; 15&amp;nbsp; e21&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;options nodate nonumber;&lt;/P&gt;&lt;P&gt;title ;&lt;/P&gt;&lt;P&gt;ods latex path="d:\notes\latex\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpath="d:\notes\latex\ps" (url='ps/') style=journal2;&lt;/P&gt;&lt;P&gt;ods trace on;&lt;/P&gt;&lt;P&gt;proc robustreg data=stack plots=(rdplot ddplot histogram qqplot);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model y = x1 x2 x3;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods trace off;&lt;/P&gt;&lt;P&gt;ods latex close;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: times new roman,times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: times new roman,times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times; font-size: 12pt;"&gt;i obtain a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;a sasltx.ltx file and 4 graphics (.ps) into the designed ps subdirectory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;this based upon&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;CITE&gt;www2.sas.com/proceedings/sugi29/204-29.pdf&amp;nbsp; example5 of Rodriguez&lt;/CITE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how to insert the correct call for those postscript file into a Tex editor?&lt;/P&gt;&lt;P&gt;as &lt;/P&gt;&lt;P&gt;sas code&amp;nbsp; has produced&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;%\let\sasgraph\includegraphics&lt;/P&gt;&lt;P&gt;% Scale graphics so they always fit on the page&lt;/P&gt;&lt;P&gt;\newcommand\sasgraph[2][]{%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; \savebox{\sas@fig}{\includegraphics[#1]{#2}}%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; \settowidth{\sas@figwidth}{\usebox{\sas@fig}}%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; \ifthenelse{\lengthtest{\sas@figwidth &amp;gt; \textwidth}}{%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \resizebox{0.95\textwidth}{!}{\usebox{\sas@fig}}}{%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \usebox{\sas@fig}}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;and further&lt;/P&gt;&lt;P&gt;\sascontents[3]{Residual by Distance}&lt;/P&gt;&lt;P&gt;\sasgraph{ps/RDPlot7.ps}&lt;/P&gt;&lt;P&gt;\sascontents[3]{Distance by Distance}&lt;/P&gt;&lt;P&gt;\sasgraph{ps/DDPlot7.ps}&lt;/P&gt;&lt;P&gt;\sascontents[3]{Residual Histogram}&lt;/P&gt;&lt;P&gt;\sasgraph{ps/Histogram9.ps}&lt;/P&gt;&lt;P&gt;\sascontents[3]{Residual Q-Q Plot}&lt;/P&gt;&lt;P&gt;\sasgraph{ps/QQPlot7.ps}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the compilation return a non recognition of the .ps type of files&lt;/P&gt;&lt;P&gt;! LaTeX Error: Unknown graphics extension: .ps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I know that i can include those (whole pages) with a \includepdf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; after having produced them through a pdf desdtination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how to do following the basic sas latex production?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;P&gt;"a non expert in tex and latex&amp;nbsp; but i must help&amp;nbsp; somebody else"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CITE&gt;&lt;BR /&gt;&lt;/CITE&gt;&lt;SPAN class="std"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 11:10:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/statgraphics-and-latex-destination/m-p/125946#M4877</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2012-11-14T11:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: statgraphics and latex destination</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/statgraphics-and-latex-destination/m-p/125947#M4878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;\includegraphics{fragment01.pdf}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\sascontents[3]{Residual by Distance}&lt;/P&gt;&lt;P&gt;\includegraphics[width=\textwidth]{ps/DDPlot.png}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those tex code lines are indirect ways to insert graphics and are accepted&lt;/P&gt;&lt;P&gt;under Miktek2.9&amp;nbsp;&amp;nbsp; with the Winedt editor&lt;/P&gt;&lt;P&gt;but i have had to produce them under supplemental ods steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for .ps files (native ods latex sas production&lt;/P&gt;&lt;P&gt;who know the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 11:33:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/statgraphics-and-latex-destination/m-p/125947#M4878</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2012-11-14T11:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: statgraphics and latex destination</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/statgraphics-and-latex-destination/m-p/125948#M4879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After having checked other documents and Tex users,&lt;/P&gt;&lt;P&gt;it seems that the Tex community has switched to the pdf include&amp;nbsp; for many things&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So even if i have produced epsi image files with sas in place of ps postscript image files&lt;/P&gt;&lt;P&gt;i used Ghostscript to convert them into pdf files&lt;/P&gt;&lt;P&gt;and was inserting my restults with Latex code like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\includegraphics[width=\textwidth,keepaspectratio=false]{fragment01.pdf}&lt;/P&gt;&lt;P&gt;for a&amp;nbsp; ods select&amp;nbsp; + ods pdf single page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\begin{figure}&lt;/P&gt;&lt;P&gt;\includegraphics[scale=1.2]{ddPlot6.pdf}&lt;/P&gt;&lt;P&gt;\end{figure}&lt;/P&gt;&lt;P&gt;for the converted Ghostcript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\input{fragment02.tex}&lt;/P&gt;&lt;P&gt;for tex pur code (with ods notop nobot options)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\begin{figure}&lt;/P&gt;&lt;P&gt;\includegraphics{ps/RDPlot.png}&lt;/P&gt;&lt;P&gt;\end{figure}&lt;/P&gt;&lt;P&gt;for the insert of the initial and by default&amp;nbsp; png file&amp;nbsp;&amp;nbsp; under 9.3.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments are usefull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 17:00:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/statgraphics-and-latex-destination/m-p/125948#M4879</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2012-11-14T17:00:33Z</dc:date>
    </item>
  </channel>
</rss>

