<?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 split the axis label in sgplot in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586543#M28709</link>
    <description>What's the output format?</description>
    <pubDate>Thu, 05 Sep 2019 19:54:00 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-09-05T19:54:00Z</dc:date>
    <item>
      <title>How to split the axis label in sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586480#M28706</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know whether a function similar to &lt;CODE class=" language-sas"&gt;splithcar&lt;/CODE&gt; for axis values would exist to split the axis label.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the example, it would mean to have on the first line &lt;CODE class=" language-sas"&gt;Example:&lt;/CODE&gt; and on the second lien&amp;nbsp;&lt;CODE class=" language-sas"&gt; to split&lt;/CODE&gt;.&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;proc sgplot data=sashelp.class noborder;
    vbar sex / missing;
                  
    xaxis label      = 'Example: to split'
          labelpos =right;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 16:58:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586480#M28706</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2019-09-05T16:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the axis label in sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586486#M28707</link>
      <description>&lt;P&gt;This will depend on your version, but if you have the latest, use the SPLITPOLICY options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p1kiem0vt5yk8sn14amo4z5l76d2.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p1kiem0vt5yk8sn14amo4z5l76d2.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have an older version, try this approach:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Graphics-Programming/Split-format-label-for-xaxis-values-with-PROC-SGPLOT/td-p/348170" target="_blank"&gt;https://communities.sas.com/t5/Graphics-Programming/Split-format-label-for-xaxis-values-with-PROC-SGPLOT/td-p/348170&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/184742"&gt;@xxformat_com&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know whether a function similar to &lt;CODE class=" language-sas"&gt;splithcar&lt;/CODE&gt; for axis values would exist to split the axis label.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the example, it would mean to have on the first line &lt;CODE class=" language-sas"&gt;Example:&lt;/CODE&gt; and on the second lien&amp;nbsp;&lt;CODE class=" language-sas"&gt; to split&lt;/CODE&gt;.&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;proc sgplot data=sashelp.class noborder;
    vbar sex / missing;
                  
    xaxis label      = 'Example: to split'
          labelpos =right;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 17:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586486#M28707</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-05T17:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the axis label in sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586539#M28708</link>
      <description>Please read the question. I'm not looking for splitting the values on the axis but the label of the axis.</description>
      <pubDate>Thu, 05 Sep 2019 19:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586539#M28708</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2019-09-05T19:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the axis label in sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586543#M28709</link>
      <description>What's the output format?</description>
      <pubDate>Thu, 05 Sep 2019 19:54:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586543#M28709</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-05T19:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the axis label in sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586544#M28710</link>
      <description>&lt;P&gt;Two options, your mileage will vary based on your destination:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.idre.ucla.edu/sas/code/generating-multiline-axis-labels-in-sas-proc-sgplot/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/code/generating-multiline-axis-labels-in-sas-proc-sgplot/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 19:54:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586544#M28710</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-05T19:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the axis label in sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586556#M28713</link>
      <description>The "(*ESC*){unicode '000a'x}" suggested in the link does the work. Thanks.</description>
      <pubDate>Thu, 05 Sep 2019 21:09:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-split-the-axis-label-in-sgplot/m-p/586556#M28713</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2019-09-05T21:09:41Z</dc:date>
    </item>
  </channel>
</rss>

