<?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: need 3dbar graph when knows x and y axis values in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375119#M12944</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148952"&gt;@daisy6&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi , I have a data set and need the 3dbar graph . My SAS does not support proc sgplot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What version of SAS are you using then? That also limits the features for the Graphing Procedures?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 20:27:11 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-07-11T20:27:11Z</dc:date>
    <item>
      <title>need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375116#M12943</link>
      <description>&lt;P&gt;Hi , I have a data set and need the 3dbar graph . My SAS does not support proc sgplot.&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;infile datalines dlm = ",";&lt;BR /&gt;input student score;&lt;BR /&gt;datalines;&lt;BR /&gt;1,1&lt;BR /&gt;2,1&lt;BR /&gt;3,1&lt;BR /&gt;4,3&lt;BR /&gt;5,3&lt;BR /&gt;6,3&lt;BR /&gt;7,4&lt;BR /&gt;8,4&lt;BR /&gt;9,4&lt;BR /&gt;10,4&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;%let max = 5;&lt;BR /&gt;/* Create a dummy set of all the desired groups */&lt;BR /&gt;data numbers;&lt;BR /&gt;do score = 1 to &amp;amp;max;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* Get the total count and each group's count */&lt;BR /&gt;proc summary data = have;&lt;BR /&gt;class score;&lt;BR /&gt;output out = counts;&lt;BR /&gt;run;&lt;BR /&gt;/* Combine and create the summary stats */&lt;BR /&gt;data want;&lt;BR /&gt;merge&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;counts (rename = (_FREQ_ = freq))&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;numbers;&lt;BR /&gt;by score;&lt;BR /&gt;/* Keep the total and cumulative total when new rows are loaded */&lt;BR /&gt;retain total cumsum;&lt;BR /&gt;/* Set up the total and delete the total row */&lt;BR /&gt;if _TYPE_ = 0 then do;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;total = freq;&lt;BR /&gt;delete;&lt;BR /&gt;end;&lt;BR /&gt;/* Prevent missing values by adding 0 */&lt;BR /&gt;freq + 0;&lt;BR /&gt;/* Calculate stats */&lt;BR /&gt;pct = freq / total;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;cumsum + freq;&lt;BR /&gt;cumpct = cumsum / total;&lt;BR /&gt;drop _TYPE_ total;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data want(rename=(freq=n));&lt;BR /&gt;set want;&lt;BR /&gt;run;&lt;BR /&gt;proc gchart data=want;&lt;BR /&gt;vbar3d score/discrete raxis=n;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375116#M12943</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-07-11T20:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375119#M12944</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148952"&gt;@daisy6&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi , I have a data set and need the 3dbar graph . My SAS does not support proc sgplot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What version of SAS are you using then? That also limits the features for the Graphing Procedures?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:27:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375119#M12944</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-11T20:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375123#M12945</link>
      <description>&lt;P&gt;It is SAS 9.3(32). When I run proc sgplot, the log window shows&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=want;&lt;BR /&gt;208 vbar rawscore/ response=tn;&lt;BR /&gt;209 xaxis display=(nolabel);&lt;BR /&gt;210 yaxis grid;&lt;BR /&gt;211 run;&lt;/P&gt;&lt;P&gt;NOTE: Writing HTML Body file: sashtml.htm&lt;BR /&gt;NOTE: Since no format is assigned, the numeric category variable will use the default of BEST6.&lt;BR /&gt;NOTE: PROCEDURE SGPLOT used (Total process time):&lt;BR /&gt;real time 1.39 seconds&lt;BR /&gt;cpu time 0.26 seconds&lt;/P&gt;&lt;P&gt;ERROR: The Java proxy is not responding.&lt;BR /&gt;ERROR: The Java proxy's JNI call to start the VM failed.&lt;BR /&gt;ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or&lt;BR /&gt;system administrator.&lt;BR /&gt;ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or&lt;BR /&gt;system administrator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:35:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375123#M12945</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-07-11T20:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375124#M12946</link>
      <description>&lt;P&gt;SGPLOT is included with SAS 9.3 Base. &amp;nbsp;You are getting Java VM errors. &amp;nbsp;Run "proc javainfo all; run;" and post the log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375124#M12946</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2017-07-11T20:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375126#M12947</link>
      <description>&lt;P&gt;Basically, I need the bar graph even if the frequency=0. If do not consider frequency=0 value,&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gchart data=have;&lt;BR /&gt;vbar3d score/discrete;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;works and I get capture picture which not included score=2 and 5.&lt;/P&gt;&lt;P&gt;But I need the bar chart with all the scores "1,2,3,4,5"&lt;/P&gt;&lt;P&gt;Can anyone help me out? Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/14068i444982A376FAA1E7/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375126#M12947</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-07-11T20:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375127#M12948</link>
      <description>&lt;P&gt;&amp;nbsp;Here is the results:&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE JAVAINFO used (Total process time):&lt;BR /&gt;real time 0.23 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;ERROR: The Java proxy is not responding.&lt;BR /&gt;ERROR: The Java proxy's JNI call to start the VM failed.&lt;BR /&gt;ERROR: Proc javainfo did not run correctly.&lt;BR /&gt;311 proc javainfo all; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375127#M12948</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-07-11T20:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375137#M12949</link>
      <description>&lt;P&gt;Clearly, your SAS software is not installed correctly. &amp;nbsp;You should contact your IT professionals, or &lt;A href="https://support.sas.com/en/technical-support.html" target="_blank"&gt;SAS Technical Support&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 21:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375137#M12949</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2017-07-11T21:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375701#M12964</link>
      <description>&lt;P&gt;Already reinstalled my SAS software and can use proc sgplot now. But the graph is not 3d bar shape if I use the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;infile datalines dlm = ",";&lt;BR /&gt;input student score;&lt;BR /&gt;datalines;&lt;BR /&gt;1,1&lt;BR /&gt;2,1&lt;BR /&gt;3,1&lt;BR /&gt;4,3&lt;BR /&gt;5,3&lt;BR /&gt;6,3&lt;BR /&gt;7,4&lt;BR /&gt;8,4&lt;BR /&gt;9,4&lt;BR /&gt;10,4&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;%let max = 5;&lt;BR /&gt;/* Create a dummy set of all the desired groups */&lt;BR /&gt;data numbers;&lt;BR /&gt;do score = 1 to &amp;amp;max;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* Get the total count and each group's count */&lt;BR /&gt;proc summary data = have;&lt;BR /&gt;class score;&lt;BR /&gt;output out = counts;&lt;BR /&gt;run;&lt;BR /&gt;/* Combine and create the summary stats */&lt;BR /&gt;data want;&lt;BR /&gt;merge&lt;BR /&gt;counts (rename = (_FREQ_ = freq))&lt;BR /&gt;numbers;&lt;BR /&gt;by score;&lt;BR /&gt;/* Keep the total and cumulative total when new rows are loaded */&lt;BR /&gt;retain total cumsum;&lt;BR /&gt;/* Set up the total and delete the total row */&lt;BR /&gt;if _TYPE_ = 0 then do;&lt;BR /&gt;total = freq;&lt;BR /&gt;delete;&lt;BR /&gt;end;&lt;BR /&gt;/* Prevent missing values by adding 0 */&lt;BR /&gt;freq + 0;&lt;BR /&gt;/* Calculate stats */&lt;BR /&gt;pct = freq / total;&lt;BR /&gt;cumsum + freq;&lt;BR /&gt;cumpct = cumsum / total;&lt;BR /&gt;drop _TYPE_ total;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=want;&lt;BR /&gt;vbar score/ response=freq;&lt;BR /&gt;xaxis display=(nolabel);&lt;BR /&gt;yaxis grid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sgplot data=want;&lt;BR /&gt;vbarparm category=score response=freq;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank Sanjay!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 14:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375701#M12964</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-07-13T14:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375703#M12965</link>
      <description>&lt;P&gt;Try using the DATASKIN option on the VBAR statement to give you a 3D-ish appearance, but maintain 2D readability. Try using values like PRESSED, GLOSS, or MATTE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 14:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375703#M12965</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-07-13T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375704#M12966</link>
      <description>&lt;P&gt;SGPLOT does not support 3D bar shapes. &amp;nbsp;This is considered undesirable by many domain experts and thought leaders such as Tufte for analytical graphs. &amp;nbsp;However, we do recognize the need for some visual treatment and support the option DATASKIN. &amp;nbsp;You can try DATASKIN=PRESSED for 3D "looking" bars. &amp;nbsp;Or, other values such as GLOSS, SHEEN and MATTE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2016/12/19/axis-values-display/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2016/12/19/axis-values-display/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 14:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375704#M12966</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2017-07-13T14:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: need 3dbar graph when knows x and y axis values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375713#M12967</link>
      <description>Thank all of you! I will try it</description>
      <pubDate>Thu, 13 Jul 2017 14:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/need-3dbar-graph-when-knows-x-and-y-axis-values/m-p/375713#M12967</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-07-13T14:47:55Z</dc:date>
    </item>
  </channel>
</rss>

