<?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 to organize Sgplot - Vbar diagram in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-organize-Sgplot-Vbar-diagram/m-p/550597#M74541</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/215282"&gt;@Sathish_jammy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to report data in a histogram format. I used the below code to implement it but, it looks so wired.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I get a diagram in a good representable format?&lt;/P&gt;
&lt;P&gt;Please have a look at the attachment of (Sample dig) What I'm looking for and What I get a result in SAS.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;More specific information is needed. What is "wired" about this diagram? What would a "good representable format" look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, please note that VBAR is not the same as HISTOGRAM. Is that (part of) the problem you are having?&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2019 12:12:32 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-04-12T12:12:32Z</dc:date>
    <item>
      <title>How to organize Sgplot - Vbar diagram</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-organize-Sgplot-Vbar-diagram/m-p/550562#M74539</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to report data in a histogram format. I used the below code to implement it but, it looks so wired.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I get a diagram in a good representable format?&lt;/P&gt;&lt;P&gt;Please have a look at the attachment of (Sample dig) What I'm looking for and What I get a result in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try with gchart I got an error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The PNG driver can not find any fonts. No output will be created.&lt;BR /&gt;ERROR: The PNG driver can not find any fonts. No output will be created.&lt;BR /&gt;ERROR: Physical file does not exist, C:\WINDOWS\Fonts\sasmono.ttf..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a way kindly correct my code in&amp;nbsp;sgplot&amp;nbsp;itself.&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class="language-sas"&gt;data Cho_d;
Input Dur$15. Cho_mean;
cards;
Before_Surgery 156.4
6mAfter_Surgery 156.0
1yAfter_Surgery 149.5
run;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPLOT DATA = Cho_d;
VBAR Dur / Response = Cho_mean stat=Mean;
label Dur = 'Duration';
label Cho_mean = 'Mean of Total Cholestrol Mg/dl';
TITLE 'Trends in Mean Total Cholesterol levels of 35patients after Bariatric surgery';
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img1.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28661iBD64AFCC01AB7C8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="img1.jpg" alt="img1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img2.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28660i627E03B86241BCCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="img2.jpg" alt="img2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 10:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-organize-Sgplot-Vbar-diagram/m-p/550562#M74539</guid>
      <dc:creator>Sathish_jammy</dc:creator>
      <dc:date>2019-04-12T10:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to organize Sgplot - Vbar diagram</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-organize-Sgplot-Vbar-diagram/m-p/550597#M74541</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/215282"&gt;@Sathish_jammy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to report data in a histogram format. I used the below code to implement it but, it looks so wired.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I get a diagram in a good representable format?&lt;/P&gt;
&lt;P&gt;Please have a look at the attachment of (Sample dig) What I'm looking for and What I get a result in SAS.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;More specific information is needed. What is "wired" about this diagram? What would a "good representable format" look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, please note that VBAR is not the same as HISTOGRAM. Is that (part of) the problem you are having?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 12:12:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-organize-Sgplot-Vbar-diagram/m-p/550597#M74541</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-12T12:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to organize Sgplot - Vbar diagram</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-organize-Sgplot-Vbar-diagram/m-p/550617#M74542</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Cho_d;
Input Dur$15. Cho_mean;
cards;
Before_Surgery 156.4
6mAfter_Surgery 156.0
1yAfter_Surgery 149.5
;
run;

PROC SGPLOT DATA = Cho_d;
VBAR Dur / Response = Cho_mean datalabel;
yaxis min=80 max=240;
label Dur = 'Duration';
label Cho_mean = 'Mean of Total Cholestrol Mg/dl';
TITLE 'Trends in Mean Total Cholesterol levels of 35patients after Bariatric surgery';
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Apr 2019 13:24:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-organize-Sgplot-Vbar-diagram/m-p/550617#M74542</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-04-12T13:24:23Z</dc:date>
    </item>
  </channel>
</rss>

