<?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: How to color datapoints in SGPANEL (equiv. to plot y*s='something' in proc gplot) in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-color-datapoints-in-SGPANEL-equiv-to-plot-y-s-something/m-p/358036#M23582</link>
    <description>&lt;P&gt;Just add a "group = instrument_id" t your scatter statement.&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2017 20:10:42 GMT</pubDate>
    <dc:creator>collinelliot</dc:creator>
    <dc:date>2017-05-11T20:10:42Z</dc:date>
    <item>
      <title>How to color datapoints in SGPANEL (equiv. to plot y*s='something' in proc gplot)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-color-datapoints-in-SGPANEL-equiv-to-plot-y-s-something/m-p/357782#M23552</link>
      <description>&lt;P&gt;I am using SGpanel to create some dashboard stuff. If have adataset, that has time dependenat data (measurement over days), that I plot vs. the time. Now, there are many instruments, that contribute to the times series, and I want to color each instrument's data individually.&lt;/P&gt;
&lt;P&gt;In proc gplot notation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc gplot data=. . . ;&lt;/P&gt;
&lt;P&gt;plot meas * time = instrument_id,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This normally by itself colors data from each instrument according to the defined colors.&lt;/P&gt;
&lt;P&gt;I want the same to happen in scatter plots generated in the sgpanel procedure. The call of 'scatter' in sgpanel looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;scatter x=days_in_test y=QC_adjst / markerattrs=(symbol=dot size=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;20&lt;/FONT&gt;&lt;/STRONG&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;How can I force each instrument's data to be individually colored?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Many thanks in advance&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Poul R S&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 08:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-color-datapoints-in-SGPANEL-equiv-to-plot-y-s-something/m-p/357782#M23552</guid>
      <dc:creator>PoulRavn</dc:creator>
      <dc:date>2017-05-11T08:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to color datapoints in SGPANEL (equiv. to plot y*s='something' in proc gplot)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-color-datapoints-in-SGPANEL-equiv-to-plot-y-s-something/m-p/358036#M23582</link>
      <description>&lt;P&gt;Just add a "group = instrument_id" t your scatter statement.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 20:10:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-color-datapoints-in-SGPANEL-equiv-to-plot-y-s-something/m-p/358036#M23582</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-05-11T20:10:42Z</dc:date>
    </item>
  </channel>
</rss>

