<?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: Spaghetti Plots in Proc SGPlot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Spaghetti-Plots-in-Proc-SGPlot/m-p/215825#M8053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With SAS 9.40M2, this is easy using the new ColorLC and ColorLP options:&amp;nbsp; &lt;A class="active_link" href="http://blogs.sas.com/content/graphicallyspeaking/?s=spaghetti" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba; background-color: #ffffff;" title="http://blogs.sas.com/content/graphicallyspeaking/?s=spaghetti"&gt;http://blogs.sas.com/content/graphicallyspeaking/?s=spaghetti.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;If you have earlier versions of SAS, the easiest way would be to use the corresponding options available in GTL called &lt;A href="http://sww.sas.com/saspedia/GTL_SeriesPlot_statement#LINECOLORGROUP" style="color: #0b0080; font-family: sans-serif; font-size: 12.8000001907349px; background: none #f9f9f9;"&gt;&lt;SPAN style="color: #575757;"&gt;LINECOLORGROUP&lt;/SPAN&gt;&lt;/A&gt; and &lt;A href="http://sww.sas.com/saspedia/GTL_SeriesPlot_statement#LINEPATTERNGROUP" style="color: #0b0080; font-family: sans-serif; font-size: 12.8000001907349px; background: none #f9f9f9;"&gt;&lt;SPAN style="color: #575757;"&gt;LINEPATTERNGROUP&lt;/SPAN&gt;&lt;/A&gt;.&amp;nbsp; They may not be documented, but have been in the code since SAS 9.2. and have been documented since SAS 9.4.&amp;nbsp;&amp;nbsp; Just output the GTL code from the SGPLOT using the TMPLOUT option, and then add these options to the SERIESPLOT statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;H4 style="color: #000000; margin: 0 0 0.3em; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-style: none; font-size: 14.8480005264282px; font-family: sans-serif; background: none #ffffff;"&gt;&lt;/H4&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2015 22:12:26 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2015-04-03T22:12:26Z</dc:date>
    <item>
      <title>Spaghetti Plots in Proc SGPlot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Spaghetti-Plots-in-Proc-SGPlot/m-p/215823#M8051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am learning how to do spaghetti plots using Proc SGPlot.&lt;/P&gt;&lt;P&gt;I am having trouble creating a profile plot for each individual subject ID and then to use different colors for males and females.&lt;/P&gt;&lt;P&gt;This is what I have so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;sgplot&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=DentalL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;series&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;y&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=Response &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=Time / &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;Break&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;group&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=ID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;xaxis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;values&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; to &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;16&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; by &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;label&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'Age in years'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;yaxis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;values&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;0&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; to &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;35&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; by &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;5&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;label&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'Dental Growth in mm'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'Individual Profiles';&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;run;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Can anyone help me use different line colors for different genders?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 18:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Spaghetti-Plots-in-Proc-SGPlot/m-p/215823#M8051</guid>
      <dc:creator>Nives_ES</dc:creator>
      <dc:date>2015-04-03T18:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Spaghetti Plots in Proc SGPlot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Spaghetti-Plots-in-Proc-SGPlot/m-p/215824#M8052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this tread covers it pretty well.&amp;nbsp; I have use dummy obs and the break option and then specify GROUP=gender etc.&amp;nbsp; There are newer options too if you have a more current version of SAS, see entire thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/thread/71469"&gt;https://communities.sas.com/thread/71469&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 19:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Spaghetti-Plots-in-Proc-SGPlot/m-p/215824#M8052</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-04-03T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Spaghetti Plots in Proc SGPlot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Spaghetti-Plots-in-Proc-SGPlot/m-p/215825#M8053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With SAS 9.40M2, this is easy using the new ColorLC and ColorLP options:&amp;nbsp; &lt;A class="active_link" href="http://blogs.sas.com/content/graphicallyspeaking/?s=spaghetti" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba; background-color: #ffffff;" title="http://blogs.sas.com/content/graphicallyspeaking/?s=spaghetti"&gt;http://blogs.sas.com/content/graphicallyspeaking/?s=spaghetti.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;If you have earlier versions of SAS, the easiest way would be to use the corresponding options available in GTL called &lt;A href="http://sww.sas.com/saspedia/GTL_SeriesPlot_statement#LINECOLORGROUP" style="color: #0b0080; font-family: sans-serif; font-size: 12.8000001907349px; background: none #f9f9f9;"&gt;&lt;SPAN style="color: #575757;"&gt;LINECOLORGROUP&lt;/SPAN&gt;&lt;/A&gt; and &lt;A href="http://sww.sas.com/saspedia/GTL_SeriesPlot_statement#LINEPATTERNGROUP" style="color: #0b0080; font-family: sans-serif; font-size: 12.8000001907349px; background: none #f9f9f9;"&gt;&lt;SPAN style="color: #575757;"&gt;LINEPATTERNGROUP&lt;/SPAN&gt;&lt;/A&gt;.&amp;nbsp; They may not be documented, but have been in the code since SAS 9.2. and have been documented since SAS 9.4.&amp;nbsp;&amp;nbsp; Just output the GTL code from the SGPLOT using the TMPLOUT option, and then add these options to the SERIESPLOT statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;H4 style="color: #000000; margin: 0 0 0.3em; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-style: none; font-size: 14.8480005264282px; font-family: sans-serif; background: none #ffffff;"&gt;&lt;/H4&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 22:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Spaghetti-Plots-in-Proc-SGPlot/m-p/215825#M8053</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-04-03T22:12:26Z</dc:date>
    </item>
  </channel>
</rss>

