<?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: Splitting and rotating xaxis values in PROC SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957756#M25235</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
set sashelp.heart(obs=100);
length _sex $ 80;
if sex='Male' then _sex='Followed Up';
else _sex='Post-Discharge'||'0A'x||'ROPTreatment';
run;

proc sgplot data=have;
vbox weight/category=_sex;
xaxis fitpolicy=rotatealways valuesrotate=vertical ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1738288273396.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104157i9B570C998F8455EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1738288273396.png" alt="Ksharp_0-1738288273396.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2025 01:54:19 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2025-01-31T01:54:19Z</dc:date>
    <item>
      <title>Splitting and rotating xaxis values in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957753#M25233</link>
      <description>&lt;P&gt;I'm using PROC SGPLOT and trying to determine if it is possible to split AND rotate the xaxis values. I see you can do one or the other utilizing FITPOLICY/SPLITCHAR/VALUESROTATE , but I'd like to do both. It was possible to do in PROC GCHART &lt;BR /&gt;&lt;SPAN&gt;axis2 minor=none&amp;nbsp; offset=(0.3 in, 0.3 in)&amp;nbsp; value=(font="Myriad Web Pro" h=10pt a=90 t=1 "Followed Up"&amp;nbsp;&lt;/SPAN&gt;t=2 "Post-Discharge" j=c "ROP Treatment"):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rotated and Split.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104156iB87A6DA9959C9E72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rotated and Split.png" alt="Rotated and Split.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is there a way to recreate this in PROC SGPLOT?&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 00:19:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957753#M25233</guid>
      <dc:creator>kmorrowvt</dc:creator>
      <dc:date>2025-01-31T00:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting and rotating xaxis values in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957754#M25234</link>
      <description>Is the x-axis discrete?  As in, not showing a continuous or time series sort of value?</description>
      <pubDate>Fri, 31 Jan 2025 00:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957754#M25234</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2025-01-31T00:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting and rotating xaxis values in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957756#M25235</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
set sashelp.heart(obs=100);
length _sex $ 80;
if sex='Male' then _sex='Followed Up';
else _sex='Post-Discharge'||'0A'x||'ROPTreatment';
run;

proc sgplot data=have;
vbox weight/category=_sex;
xaxis fitpolicy=rotatealways valuesrotate=vertical ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1738288273396.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104157i9B570C998F8455EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1738288273396.png" alt="Ksharp_0-1738288273396.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 01:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957756#M25235</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-01-31T01:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting and rotating xaxis values in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957788#M25236</link>
      <description>&lt;P&gt;Yes, it is discrete.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 12:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957788#M25236</guid>
      <dc:creator>kmorrowvt</dc:creator>
      <dc:date>2025-01-31T12:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting and rotating xaxis values in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957790#M25237</link>
      <description>This is perfect, thank you.</description>
      <pubDate>Fri, 31 Jan 2025 12:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-and-rotating-xaxis-values-in-PROC-SGPLOT/m-p/957790#M25237</guid>
      <dc:creator>kmorrowvt</dc:creator>
      <dc:date>2025-01-31T12:09:01Z</dc:date>
    </item>
  </channel>
</rss>

