<?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: SAS Graph in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Graph/m-p/73133#M21217</link>
    <description>Hi: &lt;BR /&gt;
   You might look at the SUBGROUP option. This might mean that you have to "pre-summarize" your data, so that you can creating a subgrouping variable based on your condition. (instead of graphing the unsummarized data, then, you would graph the summarized data). You could use DATA step logic or a user-defined format to set a value for the subgrouping variable. But, no matter how you set the subgrouping variable -- let's call this subgrouping variable, Category.&lt;BR /&gt;
 &lt;BR /&gt;
  Then, your VBAR3D statement would look something like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
vbar3d graph_var / sumvar=numvar&lt;BR /&gt;
                   subgroup=Category;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
Without any specific instructions, SAS/Graph will cycle through the current color list. You can explicitly set PATTERN statements to control the colors of the subgrouped bars. If you had 4 categories, then you would use 4 PATTERN statements, if you only had 2 categories, then you would use 2 PATTERN statements.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Sat, 07 Feb 2009 20:22:34 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2009-02-07T20:22:34Z</dc:date>
    <item>
      <title>SAS Graph</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Graph/m-p/73132#M21216</link>
      <description>Hi All,&lt;BR /&gt;
&lt;BR /&gt;
       I am using PROC GCHART to draw the vbar3d.I am using like this..&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc gchart data=sample;&lt;BR /&gt;
vbar3d sex_cat / sumvar=total ;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Here i want the bar shoulb be in green colour if total greater than 1500 else it would be red in colour.&lt;BR /&gt;
&lt;BR /&gt;
So please give me some suggestions.&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Sat, 07 Feb 2009 07:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Graph/m-p/73132#M21216</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-07T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Graph/m-p/73133#M21217</link>
      <description>Hi: &lt;BR /&gt;
   You might look at the SUBGROUP option. This might mean that you have to "pre-summarize" your data, so that you can creating a subgrouping variable based on your condition. (instead of graphing the unsummarized data, then, you would graph the summarized data). You could use DATA step logic or a user-defined format to set a value for the subgrouping variable. But, no matter how you set the subgrouping variable -- let's call this subgrouping variable, Category.&lt;BR /&gt;
 &lt;BR /&gt;
  Then, your VBAR3D statement would look something like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
vbar3d graph_var / sumvar=numvar&lt;BR /&gt;
                   subgroup=Category;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
Without any specific instructions, SAS/Graph will cycle through the current color list. You can explicitly set PATTERN statements to control the colors of the subgrouped bars. If you had 4 categories, then you would use 4 PATTERN statements, if you only had 2 categories, then you would use 2 PATTERN statements.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sat, 07 Feb 2009 20:22:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Graph/m-p/73133#M21217</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-02-07T20:22:34Z</dc:date>
    </item>
  </channel>
</rss>

