<?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: Plot for comaring two variable- Large data in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364504#M12659</link>
    <description>&lt;P&gt;Is plotting 1m records the best way to cmopare some data? &amp;nbsp;I wouldn't think so. &amp;nbsp;Think of a piece of paper, then put 1m dots on that piece of paper, would you fit them all on, no, not even close. &amp;nbsp;I would think there are better methods, e.g. distinct lists of values, proc compare by variables, excluding the sam values etc.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 09:40:18 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-06-06T09:40:18Z</dc:date>
    <item>
      <title>Plot for comaring two variable- Large data</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364502#M12657</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to draw a plot which can help me compare two variables , the issue is I have around 1 million rows due to which I am not able to use Line plot.&lt;/P&gt;&lt;P&gt;Code used&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;gplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Data_name; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;plot&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (y1 y2)*xavr / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;overlay&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;legend&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=legend1 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;haxis&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=axis1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;vaxis&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=axis2; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 09:35:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364502#M12657</guid>
      <dc:creator>Reshu1</dc:creator>
      <dc:date>2017-06-06T09:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Plot for comaring two variable- Large data</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364504#M12659</link>
      <description>&lt;P&gt;Is plotting 1m records the best way to cmopare some data? &amp;nbsp;I wouldn't think so. &amp;nbsp;Think of a piece of paper, then put 1m dots on that piece of paper, would you fit them all on, no, not even close. &amp;nbsp;I would think there are better methods, e.g. distinct lists of values, proc compare by variables, excluding the sam values etc.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 09:40:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364504#M12659</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-06-06T09:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Plot for comaring two variable- Large data</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364524#M12660</link>
      <description>&lt;P&gt;If you are trying to identify where the variables are most different, a scatter plot of y1 vs y2 would do it, since they are evaluated at the same time points. Use semitransparent markers to reduce overplotting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=Data_name;
scatter x=y1 y=y2 / transparency=0.8;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you need to visualize the XVAR information, you can use the COLORRESPONSE=XVAR option.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 11:07:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364524#M12660</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-06-06T11:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Plot for comaring two variable- Large data</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364587#M12661</link>
      <description>&lt;P&gt;Rick's approach might also be interesting to see as a heatmap:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=bigdata;
heatmap x=y1 y=y2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 14:19:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-for-comaring-two-variable-Large-data/m-p/364587#M12661</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-06-06T14:19:56Z</dc:date>
    </item>
  </channel>
</rss>

