<?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 connecting points when using proc sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/connecting-points-when-using-proc-sgplot/m-p/418736#M14432</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I'm trying to connect points by using sgplot but it doesn't work. The option connect exists only with vbox statement and not with scatter statement. You find attached the first figure (but points are not connected. In fact every ID has its assessment in every visit and I'm trying to connect every four points which are assessments of each ID). I need also to&amp;nbsp;connect the three points in the second figure . Is there any solution ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2017 10:05:00 GMT</pubDate>
    <dc:creator>oussema</dc:creator>
    <dc:date>2017-12-06T10:05:00Z</dc:date>
    <item>
      <title>connecting points when using proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/connecting-points-when-using-proc-sgplot/m-p/418736#M14432</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I'm trying to connect points by using sgplot but it doesn't work. The option connect exists only with vbox statement and not with scatter statement. You find attached the first figure (but points are not connected. In fact every ID has its assessment in every visit and I'm trying to connect every four points which are assessments of each ID). I need also to&amp;nbsp;connect the three points in the second figure . Is there any solution ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 10:05:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/connecting-points-when-using-proc-sgplot/m-p/418736#M14432</guid>
      <dc:creator>oussema</dc:creator>
      <dc:date>2017-12-06T10:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: connecting points when using proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/connecting-points-when-using-proc-sgplot/m-p/418740#M14433</link>
      <description>&lt;P&gt;Without any code or test data, this is just theory.&amp;nbsp; But you have the points you want to draw lines between (these would be your scatter points), but isolate the ones you want and set them into other variables, then have a line plot which plots those points.&amp;nbsp; E.g&lt;/P&gt;
&lt;PRE&gt;proc sgplot...;
  scatter x=x y=y;
  series x=new_varx y=new_vary;
run;&lt;/PRE&gt;
&lt;P&gt;new vars are the ones holding the datapoints of interest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For plenty of examples look here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 10:20:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/connecting-points-when-using-proc-sgplot/m-p/418740#M14433</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-12-06T10:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: connecting points when using proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/connecting-points-when-using-proc-sgplot/m-p/418756#M14434</link>
      <description>&lt;P&gt;Thank you, but making new variables for each id is not needed. We can use the 'group' option is 'series' statement and it will solve the problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 11:32:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/connecting-points-when-using-proc-sgplot/m-p/418756#M14434</guid>
      <dc:creator>oussema</dc:creator>
      <dc:date>2017-12-06T11:32:10Z</dc:date>
    </item>
  </channel>
</rss>

