<?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: Proc SGPLOT - Extend trend line full width of graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Extend-trend-line-full-width-of-graph/m-p/154882#M5773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The behavior you're describing is the default for Proc Gplot - here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data foo;&lt;BR /&gt;input x y;&lt;BR /&gt;datalines;&lt;BR /&gt;1 3&lt;BR /&gt;2 4&lt;BR /&gt;3 5&lt;BR /&gt;4 7&lt;BR /&gt;5 6&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol1 value=none interpol=rl color=blue;&lt;BR /&gt;symbol2 value=dot interpol=none color=red;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;axis1 order=(0 to 6 by 2);&lt;BR /&gt;axis2 order=(0 to 10 by 2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=foo;&lt;BR /&gt;plot y*x=1 y*x=2 / overlay haxis=axis1 vaxis=axis2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="gplot.png" class="jive-image-thumbnail jive-image" height="550" src="https://communities.sas.com/legacyfs/online/4806_gplot.png" width="688" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 18:45:44 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2014-01-28T18:45:44Z</dc:date>
    <item>
      <title>Proc SGPLOT - Extend trend line full width of graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Extend-trend-line-full-width-of-graph/m-p/154880#M5771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am using the reg statement in proc sgplot to create a trend line -- I'd like the trend line to begin at the y axis, not begin with the first data point. I couldn't find a way to do this with lineattrs in the documentation. Any tips are greatly appreciated. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sample;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scatter x=x y= y;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg x=x y=y /nomarks lineattrs=(color=black);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 18:32:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Extend-trend-line-full-width-of-graph/m-p/154880#M5771</guid>
      <dc:creator>OPHD1</dc:creator>
      <dc:date>2014-01-28T18:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SGPLOT - Extend trend line full width of graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Extend-trend-line-full-width-of-graph/m-p/154881#M5772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;You cannot "extend" the fit line, but you can remove the extra white space.&amp;nbsp; Try setting OFFSETMIN=0 and THRESHOLDMIN=0 (SAS 9.3) on the x axis.&amp;nbsp; Same on the other end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 18:41:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Extend-trend-line-full-width-of-graph/m-p/154881#M5772</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-01-28T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SGPLOT - Extend trend line full width of graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Extend-trend-line-full-width-of-graph/m-p/154882#M5773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The behavior you're describing is the default for Proc Gplot - here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data foo;&lt;BR /&gt;input x y;&lt;BR /&gt;datalines;&lt;BR /&gt;1 3&lt;BR /&gt;2 4&lt;BR /&gt;3 5&lt;BR /&gt;4 7&lt;BR /&gt;5 6&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol1 value=none interpol=rl color=blue;&lt;BR /&gt;symbol2 value=dot interpol=none color=red;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;axis1 order=(0 to 6 by 2);&lt;BR /&gt;axis2 order=(0 to 10 by 2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=foo;&lt;BR /&gt;plot y*x=1 y*x=2 / overlay haxis=axis1 vaxis=axis2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="gplot.png" class="jive-image-thumbnail jive-image" height="550" src="https://communities.sas.com/legacyfs/online/4806_gplot.png" width="688" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 18:45:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Extend-trend-line-full-width-of-graph/m-p/154882#M5773</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2014-01-28T18:45:44Z</dc:date>
    </item>
  </channel>
</rss>

