<?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: Question with a PROC SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Question-with-a-PROC-SGPLOT/m-p/412129#M14128</link>
    <description>&lt;P&gt;Also&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc sgplot data = seg_tmp.all_v2;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;format MNTH_SMRY_START_DT dtmonyy.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#ff0000" size="5"&gt;&amp;lt;= no ;&amp;nbsp; for format statement so styleattrs is treated as the next variable to apply a format to&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;styleattrs &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;datacolors=(VIGB VLIGB orange)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2017 20:53:10 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-11-09T20:53:10Z</dc:date>
    <item>
      <title>Question with a PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Question-with-a-PROC-SGPLOT/m-p/412081#M14126</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; I have a code that was handled to me and I'm reviewing, I did not wrote the code.&amp;nbsp; I encontared several error in the following code, I am new to this function and can't figure out what is the fix, I would very much appreciate your help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc sgplot data = seg_tmp.all_v2;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;format MNTH_SMRY_START_DT dtmonyy.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;styleattrs &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;datacolors=(VIGB VLIGB orange)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DATACONTRASTCOLORS = (orange blue black);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vline MNTH_SMRY_START_DT / response=tot_trans_am grouporder=data stat=mean lineattrs=(thickness=2 PATTERN =solid);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vline MNTH_SMRY_START_DT / response=tot_trans_am grouporder=data stat=median y2axis lineattrs=(thickness=2 PATTERN =solid);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;label MNTH_SMRY_START_DT = 'Month';&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;y2axis label='Median Transaction Amount';&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;yaxis label = 'Mean Transaction Amount';&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;xaxis label = 'Month';&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;by seg;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the error are as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data = seg_tmp.all_v2;&lt;BR /&gt;&amp;nbsp;format MNTH_SMRY_START_DT dtmonyy.&lt;BR /&gt;&amp;nbsp;styleattrs&lt;BR /&gt;&amp;nbsp;datacolors=(VIGB VLIGB orange)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;DATACONTRASTCOLORS = (orange blue black);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 200&lt;/FONT&gt;&lt;BR /&gt;WARNING: Variable STYLEATTRS not found in data set SEG_TMP.ALL_V2.&lt;BR /&gt;WARNING: Variable DATACOLORS not found in data set SEG_TMP.ALL_V2.&lt;BR /&gt;WARNING: Variable VIGB not found in data set SEG_TMP.ALL_V2.&lt;BR /&gt;WARNING: Variable VLIGB not found in data set SEG_TMP.ALL_V2.&lt;BR /&gt;WARNING: Variable ORANGE not found in data set SEG_TMP.ALL_V2.&lt;BR /&gt;WARNING: Variable ORANGE not found in data set SEG_TMP.ALL_V2.&lt;BR /&gt;WARNING: Variable BLUE not found in data set SEG_TMP.ALL_V2.&lt;BR /&gt;WARNING: Variable BLACK not found in data set SEG_TMP.ALL_V2.&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, a format name, ;, -, :, _ALL_, _CHARACTER_, _CHAR_,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;_NUMERIC_.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;vline MNTH_SMRY_START_DT / response=tot_trans_am grouporder=data stat=mean lineattrs=(thickness=2 PATTERN&lt;BR /&gt;! =solid);&lt;BR /&gt;&amp;nbsp;vline MNTH_SMRY_START_DT / response=tot_trans_am grouporder=data stat=median y2axis lineattrs=(thickness=2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;nbsp; &amp;nbsp;------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 22&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 76&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;! PATTERN =solid);&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 22-322: Syntax error, expecting one of the following: FREQ, MEAN, SUM.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;label MNTH_SMRY_START_DT = 'Month';&lt;BR /&gt;&amp;nbsp;y2axis label='Median Transaction Amount';&lt;BR /&gt;&amp;nbsp;yaxis label = 'Mean Transaction Amount';&lt;BR /&gt;&amp;nbsp;xaxis label = 'Month';&lt;BR /&gt;&amp;nbsp;by seg;&lt;BR /&gt;&amp;nbsp;run;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 19:03:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Question-with-a-PROC-SGPLOT/m-p/412081#M14126</guid>
      <dc:creator>Juan_Jose</dc:creator>
      <dc:date>2017-11-09T19:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question with a PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Question-with-a-PROC-SGPLOT/m-p/412101#M14127</link>
      <description>&lt;P&gt;I believe the code was written with a recent version of SAS and you are running it on an older version. The error that says&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ERROR 22-322: Syntax error, expecting one of the following: FREQ, MEAN, SUM.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;indicates that STAT=MEDIAN is not support on your version of SAS.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think the DATACOLORS= option was added in SAS 9.4M3.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The STAT=MEDIAN option is relatively new...maybe SAS 9.4M5.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 19:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Question-with-a-PROC-SGPLOT/m-p/412101#M14127</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-11-09T19:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Question with a PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Question-with-a-PROC-SGPLOT/m-p/412129#M14128</link>
      <description>&lt;P&gt;Also&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc sgplot data = seg_tmp.all_v2;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;format MNTH_SMRY_START_DT dtmonyy.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#ff0000" size="5"&gt;&amp;lt;= no ;&amp;nbsp; for format statement so styleattrs is treated as the next variable to apply a format to&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;styleattrs &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;datacolors=(VIGB VLIGB orange)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 20:53:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Question-with-a-PROC-SGPLOT/m-p/412129#M14128</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-11-09T20:53:10Z</dc:date>
    </item>
  </channel>
</rss>

