<?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 proc sgplot in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot/m-p/781395#M249031</link>
    <description>&lt;P&gt;This is my first time creating graphs in SAS and need some direction. How can I create a line graph for each patient below for score1? I want visits on the x-axis and score on the y-axis. There should be 3 lines representing each of the 3 patients on one graph.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 240pt;" border="0" width="319px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl66" style="height: 14.4pt; width: 48pt;"&gt;Visit&lt;/TD&gt;
&lt;TD width="107px" class="xl67" style="width: 48pt;"&gt;Patient&lt;/TD&gt;
&lt;TD width="107px" class="xl68" style="width: 48pt;"&gt;score1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl63" style="height: 14.4pt; border-top: none;"&gt;Week1&lt;/TD&gt;
&lt;TD width="107px" class="xl69" style="border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD width="107px" class="xl70" style="border-top: none;"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week2&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;1&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;0.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week3&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;1&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl65" style="height: 14.4pt;"&gt;Week4&lt;/TD&gt;
&lt;TD width="107px" class="xl73"&gt;1&lt;/TD&gt;
&lt;TD width="107px" class="xl74"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week1&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;2&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week2&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;2&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week3&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;2&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week4&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;2&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1.6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl63" style="height: 14.4pt;"&gt;Week1&lt;/TD&gt;
&lt;TD width="107px" class="xl69"&gt;3&lt;/TD&gt;
&lt;TD width="107px" class="xl70"&gt;0.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week2&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;3&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;0.9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week3&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;3&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl65" style="height: 14.4pt;"&gt;Week4&lt;/TD&gt;
&lt;TD width="107px" class="xl73"&gt;3&lt;/TD&gt;
&lt;TD width="107px" class="xl74"&gt;1.4&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
    <pubDate>Fri, 19 Nov 2021 21:48:04 GMT</pubDate>
    <dc:creator>Etoo12121</dc:creator>
    <dc:date>2021-11-19T21:48:04Z</dc:date>
    <item>
      <title>proc sgplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot/m-p/781395#M249031</link>
      <description>&lt;P&gt;This is my first time creating graphs in SAS and need some direction. How can I create a line graph for each patient below for score1? I want visits on the x-axis and score on the y-axis. There should be 3 lines representing each of the 3 patients on one graph.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 240pt;" border="0" width="319px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl66" style="height: 14.4pt; width: 48pt;"&gt;Visit&lt;/TD&gt;
&lt;TD width="107px" class="xl67" style="width: 48pt;"&gt;Patient&lt;/TD&gt;
&lt;TD width="107px" class="xl68" style="width: 48pt;"&gt;score1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl63" style="height: 14.4pt; border-top: none;"&gt;Week1&lt;/TD&gt;
&lt;TD width="107px" class="xl69" style="border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD width="107px" class="xl70" style="border-top: none;"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week2&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;1&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;0.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week3&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;1&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl65" style="height: 14.4pt;"&gt;Week4&lt;/TD&gt;
&lt;TD width="107px" class="xl73"&gt;1&lt;/TD&gt;
&lt;TD width="107px" class="xl74"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week1&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;2&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week2&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;2&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week3&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;2&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week4&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;2&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1.6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl63" style="height: 14.4pt;"&gt;Week1&lt;/TD&gt;
&lt;TD width="107px" class="xl69"&gt;3&lt;/TD&gt;
&lt;TD width="107px" class="xl70"&gt;0.8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week2&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;3&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;0.9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl64" style="height: 14.4pt;"&gt;Week3&lt;/TD&gt;
&lt;TD width="107px" class="xl71"&gt;3&lt;/TD&gt;
&lt;TD width="107px" class="xl72"&gt;1.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="105px" height="19" class="xl65" style="height: 14.4pt;"&gt;Week4&lt;/TD&gt;
&lt;TD width="107px" class="xl73"&gt;3&lt;/TD&gt;
&lt;TD width="107px" class="xl74"&gt;1.4&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 19 Nov 2021 21:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot/m-p/781395#M249031</guid>
      <dc:creator>Etoo12121</dc:creator>
      <dc:date>2021-11-19T21:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot/m-p/781402#M249036</link>
      <description>&lt;P&gt;This will get you started &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input Visit $ Patient score1;
datalines;
Week1 1 0
Week2 1 0.8
Week3 1 1.1
Week4 1 2
Week1 2 1
Week2 2 1
Week3 2 1.5
Week4 2 1.6
Week1 3 0.8
Week2 3 0.9
Week3 3 1.2
Week4 3 1.4
;

proc sgplot data = have;
   series x = Visit y = score1 / group = Patient;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Nov 2021 21:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot/m-p/781402#M249036</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-11-19T21:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot/m-p/781412#M249038</link>
      <description>just what I needed to set up. Thanks</description>
      <pubDate>Fri, 19 Nov 2021 22:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot/m-p/781412#M249038</guid>
      <dc:creator>Etoo12121</dc:creator>
      <dc:date>2021-11-19T22:19:58Z</dc:date>
    </item>
  </channel>
</rss>

