<?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: Split Y axis label values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/575316#M162715</link>
    <description>&lt;P&gt;HI, I tried the same code with multiple instances, but every time I am getting the same error. Always!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;19483 data x;&lt;BR /&gt;19484 y="All patient ^ (n=XX:xx vs n=YY:yy) ";x=1;output;&lt;BR /&gt;19485 y="Group1 vs Group4 ^ (n=XX:xx vs n=YY:yy)"; x=2;output;&lt;BR /&gt;3 The SAS System 05:23 Monday, July 22, 2019&lt;/P&gt;
&lt;P&gt;19486 run;&lt;/P&gt;
&lt;P&gt;NOTE: The data set WORK.X has 2 observations and 2 variables.&lt;BR /&gt;NOTE: Compressing data set WORK.X increased size by 100.00 percent. &lt;BR /&gt;Compressed is 2 pages; un-compressed would require 1 pages.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.02 seconds&lt;/P&gt;
&lt;P&gt;19487 &lt;BR /&gt;19488 proc sgplot data=x;&lt;BR /&gt;19489 scatter x=x y=y;&lt;BR /&gt;19490 yaxis fitpolicy=splitalways splitchar='^' splitjustify=left;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;-----------&lt;/FONT&gt;&lt;BR /&gt;79&lt;BR /&gt;76&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 79-322: Expecting a THIN.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/FONT&gt;&lt;BR /&gt;19491 run;&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SGPLOT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2019 09:56:43 GMT</pubDate>
    <dc:creator>kunjgemi</dc:creator>
    <dc:date>2019-07-22T09:56:43Z</dc:date>
    <item>
      <title>Split Y axis label values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/574884#M162512</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using below code for generating forest plot, very new to plotting, I only have 9.3 SAS and the report should be in RTF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=indata;&lt;BR /&gt;&lt;BR /&gt;scatter x=perc y=dptxt / xerrorlower=lo xerrorupper=hi markerattrs=(symbol=circleFilled color=black);&lt;BR /&gt;refline 0 / axis=x lineattrs=(color=grey pattern=20);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xaxis label="LSMean difference and 95% CI" min=-0.4;&lt;BR /&gt;yaxis&amp;nbsp; label="Subgroup Category";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the value labels are currently "All patient&amp;nbsp; ^ (n=XX:xx vs n=YY:yy)" and "Group1 vs Group4&amp;nbsp; ^ (n=XX:xx vs n=YY:yy)"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;even after using&amp;nbsp;SPLITCHAR='^',&amp;nbsp;fitpolicy in Yaxis attribute in SGPLOT&amp;nbsp; and&amp;nbsp;ods escapechar = '~'; somehow the axis label is not getting separated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried multiple other things but I am unsuccessful in the same, can anyone help please&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="figure1" style="width: 555px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31137i14F151C1F048DE63/image-size/large?v=v2&amp;amp;px=999" role="button" title="f1.png" alt="figure1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;figure1&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="figure2" style="width: 555px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31138i39AFD07DD93AF852/image-size/large?v=v2&amp;amp;px=999" role="button" title="f2.png" alt="figure2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;figure2&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 08:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/574884#M162512</guid>
      <dc:creator>kunjgemi</dc:creator>
      <dc:date>2019-07-19T08:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Split Y axis label values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/574930#M162520</link>
      <description>&lt;P&gt;I have no problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data x;
y="All patient  ^ (n=XX:xx vs n=YY:yy)      ";x=1;output;
y="Group1 vs Group4  ^ (n=XX:xx vs n=YY:yy)"; x=2;output;
run;

proc sgplot data=x;
scatter x=x y=y;
yaxis fitpolicy=splitalways splitchar='^' splitjustify=left;
run;&lt;/PRE&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;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="x.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31145i07FBCB111706558A/image-size/large?v=v2&amp;amp;px=999" role="button" title="x.png" alt="x.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 12:59:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/574930#M162520</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-07-19T12:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Split Y axis label values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/575316#M162715</link>
      <description>&lt;P&gt;HI, I tried the same code with multiple instances, but every time I am getting the same error. Always!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;19483 data x;&lt;BR /&gt;19484 y="All patient ^ (n=XX:xx vs n=YY:yy) ";x=1;output;&lt;BR /&gt;19485 y="Group1 vs Group4 ^ (n=XX:xx vs n=YY:yy)"; x=2;output;&lt;BR /&gt;3 The SAS System 05:23 Monday, July 22, 2019&lt;/P&gt;
&lt;P&gt;19486 run;&lt;/P&gt;
&lt;P&gt;NOTE: The data set WORK.X has 2 observations and 2 variables.&lt;BR /&gt;NOTE: Compressing data set WORK.X increased size by 100.00 percent. &lt;BR /&gt;Compressed is 2 pages; un-compressed would require 1 pages.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.02 seconds&lt;/P&gt;
&lt;P&gt;19487 &lt;BR /&gt;19488 proc sgplot data=x;&lt;BR /&gt;19489 scatter x=x y=y;&lt;BR /&gt;19490 yaxis fitpolicy=splitalways splitchar='^' splitjustify=left;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;-----------&lt;/FONT&gt;&lt;BR /&gt;79&lt;BR /&gt;76&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 79-322: Expecting a THIN.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/FONT&gt;&lt;BR /&gt;19491 run;&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SGPLOT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 09:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/575316#M162715</guid>
      <dc:creator>kunjgemi</dc:creator>
      <dc:date>2019-07-22T09:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Split Y axis label values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/575339#M162726</link>
      <description>&lt;P&gt;I don't know why you can't run the code. Here is my LOG . I am running SAS Academic On-Demand .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         data x;
 70         y="All patient  ^ (n=XX:xx vs n=YY:yy)      ";x=1;output;
 71         y="Group1 vs Group4  ^ (n=XX:xx vs n=YY:yy)"; x=2;output;
 72         run;
 
 NOTE: 数据集 WORK.X 有 2 个观测和 2 个变量。
 NOTE: “DATA 语句”所用时间（总处理时间）:
       实际时间          0.00 秒
       用户 CPU 时间     0.00 秒
       系统 CPU 时间     0.00 秒
       内存              662.31k
       OS 内存           25508.00k
       时间戳           2019-07-22 下午12:13:21
       Step Count                        32  Switch Count  1
       页错误数                       0
       页回收数                     129
       页交换数                        0
       主动上下文切换数        6
       被动上下文切换数      0
       块输入操作数            0
       块输出操作数           264
       
 
 73         
 74         proc sgplot data=x;
 75         scatter x=x y=y;
 76         yaxis fitpolicy=splitalways splitchar='^' splitjustify=left;
 77         run;
 
 NOTE: “PROCEDURE SGPLOT”所用时间（总处理时间）:
       实际时间          0.23 秒
       用户 CPU 时间     0.04 秒
       系统 CPU 时间     0.01 秒
       内存              7607.59k
       OS 内存           31276.00k
       时间戳           2019-07-22 下午12:13:21
       Step Count                        33  Switch Count  1
       页错误数                       0
       页回收数                     1582
       页交换数                        0
       主动上下文切换数        146
       被动上下文切换数      0
       块输入操作数            0
       块输出操作数           464
       
 NOTE: 从数据集 WORK.X. 读取了 2 个观测
 
 78         
 79         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 90   &lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jul 2019 12:14:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/575339#M162726</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-07-22T12:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Split Y axis label values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/575344#M162728</link>
      <description>&lt;P&gt;I know what is going on. You are using low version SAS 9.3. Try this one .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
y="All patient"||'0D0A'x||" (n=XX:xx vs n=YY:yy)      ";x=1;output;
y="Group1 vs Group4"||'0D0A'x||" (n=XX:xx vs n=YY:yy)"; x=2;output;
run;

proc sgplot data=x;
scatter x=x y=y;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jul 2019 12:24:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Split-Y-axis-label-values/m-p/575344#M162728</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-07-22T12:24:35Z</dc:date>
    </item>
  </channel>
</rss>

