<?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 do I create an SGPLOT based on 2 values within the same variable? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-an-SGPLOT-based-on-2-values-within-the-same/m-p/787684#M251726</link>
    <description>GROUP is what I would expect to work. Does the code shown not work? If so, please show the log with the error or show the output and what you want to change.</description>
    <pubDate>Wed, 29 Dec 2021 20:08:30 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-12-29T20:08:30Z</dc:date>
    <item>
      <title>How do I create an SGPLOT based on 2 values within the same variable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-an-SGPLOT-based-on-2-values-within-the-same/m-p/787682#M251725</link>
      <description>&lt;P&gt;I am using SAS EG Version 8.3.&amp;nbsp; I would like to create an SG Plot based on two separate values within the same variable (column).&amp;nbsp; &amp;nbsp;Is this possible or do I need to create a dataset for each of the value types that I want?&amp;nbsp; I have posted example data below.&amp;nbsp; I want to have the values for type AC and type A42 to show as separate sets of data on the same plot if possible.&amp;nbsp; My goal is to depict how the two values relate during the experiment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data contains&lt;/P&gt;&lt;P&gt;ExperimentID&amp;nbsp; TimeStamp&amp;nbsp; Value&amp;nbsp; Type&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 14&amp;nbsp; &amp;nbsp; &amp;nbsp; AC&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;85&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 14.4&amp;nbsp; &amp;nbsp;AC&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12.7&amp;nbsp; &amp;nbsp; A42&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 14.1&amp;nbsp; &amp;nbsp;AC&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;115&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12.5&amp;nbsp; &amp;nbsp; A42&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC SGPLOT DATA=WORK.SORTED_ID;
	FORMAT ExperimentID BEST10.;
	BY ExperimentID;
	SCATTER X=TIMESTAMP Y=Value / NOMISSINGGROUP GROUP=Type;
	XAXIS LABEL='Time Elapsed (ms)';
	YAXIS LABEL='Value';
RUN;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Dec 2021 19:38:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-an-SGPLOT-based-on-2-values-within-the-same/m-p/787682#M251725</guid>
      <dc:creator>Anthony_eng</dc:creator>
      <dc:date>2021-12-29T19:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create an SGPLOT based on 2 values within the same variable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-an-SGPLOT-based-on-2-values-within-the-same/m-p/787684#M251726</link>
      <description>GROUP is what I would expect to work. Does the code shown not work? If so, please show the log with the error or show the output and what you want to change.</description>
      <pubDate>Wed, 29 Dec 2021 20:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-an-SGPLOT-based-on-2-values-within-the-same/m-p/787684#M251726</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-29T20:08:30Z</dc:date>
    </item>
  </channel>
</rss>

