<?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: axis labelpos=datacenter in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940755#M24969</link>
    <description>&lt;P&gt;Thank you to both of you.&lt;/P&gt;
&lt;P&gt;I was so focused on the picture in the online doc, that I didn't realise that I should double check the definition.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Aug 2024 09:12:28 GMT</pubDate>
    <dc:creator>xxformat_com</dc:creator>
    <dc:date>2024-08-25T09:12:28Z</dc:date>
    <item>
      <title>axis labelpos=datacenter</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940708#M24964</link>
      <description>&lt;P&gt;Based on the SAS Online documentation &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p07m2vpyq75fgan14m6g5pphnwlr.htm#n0s89yyivxyeren1ugj51fcu6a9p" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p07m2vpyq75fgan14m6g5pphnwlr.htm#n0s89yyivxyeren1ugj51fcu6a9p&lt;/A&gt; the two following procedure should output a different graph.&lt;/P&gt;
&lt;P&gt;What is missing here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
    hbarbasic sex;
    
    xaxis values=(0 to 10)
          ranges=(0-20)
          labelpos=datacenter;
run;

proc sgplot data=sashelp.class;
    hbarbasic sex;
    
    xaxis values=(0 to 10)
          ranges=(0-20)
          labelpos=center;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 Aug 2024 10:16:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940708#M24964</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2024-08-24T10:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: axis labelpos=datacenter</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940721#M24966</link>
      <description>&lt;P&gt;From your link:&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;CENTER centers the axis label in the axis area (&lt;FONT color="#000080"&gt;&lt;STRONG&gt;including any offsets&lt;/STRONG&gt;&lt;/FONT&gt;).&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;DATACENTER centers the axis label in the axis tick display area (&lt;FONT color="#000080"&gt;&lt;STRONG&gt;excluding any offsets&lt;/STRONG&gt;&lt;/FONT&gt;).&lt;/CODE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't have any offset defined.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2024 23:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940721#M24966</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2024-08-24T23:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: axis labelpos=datacenter</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940725#M24968</link>
      <description>&lt;P&gt;What&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;means is this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
hbarbasic sex;
xaxis
  values=(0 to 10)
  ranges=(0-10)
  labelpos=datacenter
  offsetmax=0.5
;
run;

proc sgplot data=sashelp.class;
hbarbasic sex;
xaxis
  values=(0 to 10)
  ranges=(0-10)
  labelpos=center
  offsetmax=0.5
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which gets your desired look.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2024 14:27:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940725#M24968</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-08-24T14:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: axis labelpos=datacenter</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940755#M24969</link>
      <description>&lt;P&gt;Thank you to both of you.&lt;/P&gt;
&lt;P&gt;I was so focused on the picture in the online doc, that I didn't realise that I should double check the definition.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 09:12:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-labelpos-datacenter/m-p/940755#M24969</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2024-08-25T09:12:28Z</dc:date>
    </item>
  </channel>
</rss>

