<?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 option in axis statement/splitng  the label  into two lines on x-axis in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/split-option-in-axis-statement-splitng-the-label-into-two-lines/m-p/11010#M146</link>
    <description>&amp;gt; Hi All, &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I hvae used split option in axis statement to split&lt;BR /&gt;
&amp;gt; the values into two lines on x-axis .Since i have&lt;BR /&gt;
&amp;gt; used the tick option the split option is not working&lt;BR /&gt;
&amp;gt; here, i have even tried with the format statement&lt;BR /&gt;
&amp;gt;  also to split it into two lines &lt;BR /&gt;
&amp;gt; ecause  of the irregular weeks, i have to use tick&lt;BR /&gt;
&amp;gt; option to display them rather than  by using them&lt;BR /&gt;
&amp;gt; directly.&lt;BR /&gt;
&amp;gt; axis2 order=(0 to 52 by 4) offset=(4,4) label=none&lt;BR /&gt;
&amp;gt; minor=none  split =',' &lt;BR /&gt;
&amp;gt; value=(h=3 tick=1 '0,V4' tick=2 '4,V5' tick=3&lt;BR /&gt;
&amp;gt; '8,V7' tick=4 '12,V8' tick=5 ' ' tick=6 ' ' tick=7 '&lt;BR /&gt;
&amp;gt;  ' tick=8 '26,V9'  tick=9  ' ' &lt;BR /&gt;
&amp;gt; tick=10 ' ' tick=11  '39,V10'  tick=12 ' '&lt;BR /&gt;
&amp;gt; tick=13 ' ' tick=14  '52,,V11' );&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I need to display the x-axis label in two lines like&lt;BR /&gt;
&amp;gt; this &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; 0   2    4    9  12  14           (This is firstline&lt;BR /&gt;
&amp;gt; for weeks) &lt;BR /&gt;
&amp;gt; v1 v2  v3  v4  v5   v6         (this is second line&lt;BR /&gt;
&amp;gt; for visits)&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Can  anyone please help me in splitting the value&lt;BR /&gt;
&amp;gt; into two lines inspite of tick option, or any other&lt;BR /&gt;
&amp;gt; alternative.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Thanks  in advance for your suggestions.&lt;BR /&gt;
&lt;BR /&gt;
This has to be done using proc gplot. &lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Fri, 10 Jun 2011 14:45:44 GMT</pubDate>
    <dc:creator>keen_sas</dc:creator>
    <dc:date>2011-06-10T14:45:44Z</dc:date>
    <item>
      <title>split option in axis statement/splitng  the label  into two lines on x-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/split-option-in-axis-statement-splitng-the-label-into-two-lines/m-p/11009#M145</link>
      <description>Hi All, &lt;BR /&gt;
&lt;BR /&gt;
  I hvae used split option in axis statement to split the values into two lines on x-axis .Since i have used the tick option the split option is not working here, i have even tried with the format statement also to split it into two lines &lt;BR /&gt;
Because  of the irregular weeks, i have to use tick option to display them rather than  by using them directly.&lt;BR /&gt;
axis2 order=(0 to 52 by 4) offset=(4,4) label=none minor=none  split =',' &lt;BR /&gt;
   value=(h=3 tick=1 '0,V4' tick=2 '4,V5' tick=3 '8,V7' tick=4 '12,V8' tick=5 ' ' tick=6 ' ' tick=7 ' ' tick=8 '26,V9'  tick=9  ' ' &lt;BR /&gt;
     tick=10 ' ' tick=11  '39,V10'  tick=12 ' ' tick=13 ' ' tick=14  '52,,V11' );&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I need to display the x-axis label in two lines like this &lt;BR /&gt;
&lt;BR /&gt;
0   2    4    9  12  14           (This is firstline for weeks) &lt;BR /&gt;
v1 v2  v3  v4  v5   v6         (this is second line for visits)&lt;BR /&gt;
&lt;BR /&gt;
Can  anyone please help me in splitting the value into two lines inspite of tick option, or any other alternative.&lt;BR /&gt;
&lt;BR /&gt;
Thanks  in advance for your suggestions.</description>
      <pubDate>Fri, 10 Jun 2011 14:21:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/split-option-in-axis-statement-splitng-the-label-into-two-lines/m-p/11009#M145</guid>
      <dc:creator>keen_sas</dc:creator>
      <dc:date>2011-06-10T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: split option in axis statement/splitng  the label  into two lines on x-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/split-option-in-axis-statement-splitng-the-label-into-two-lines/m-p/11010#M146</link>
      <description>&amp;gt; Hi All, &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I hvae used split option in axis statement to split&lt;BR /&gt;
&amp;gt; the values into two lines on x-axis .Since i have&lt;BR /&gt;
&amp;gt; used the tick option the split option is not working&lt;BR /&gt;
&amp;gt; here, i have even tried with the format statement&lt;BR /&gt;
&amp;gt;  also to split it into two lines &lt;BR /&gt;
&amp;gt; ecause  of the irregular weeks, i have to use tick&lt;BR /&gt;
&amp;gt; option to display them rather than  by using them&lt;BR /&gt;
&amp;gt; directly.&lt;BR /&gt;
&amp;gt; axis2 order=(0 to 52 by 4) offset=(4,4) label=none&lt;BR /&gt;
&amp;gt; minor=none  split =',' &lt;BR /&gt;
&amp;gt; value=(h=3 tick=1 '0,V4' tick=2 '4,V5' tick=3&lt;BR /&gt;
&amp;gt; '8,V7' tick=4 '12,V8' tick=5 ' ' tick=6 ' ' tick=7 '&lt;BR /&gt;
&amp;gt;  ' tick=8 '26,V9'  tick=9  ' ' &lt;BR /&gt;
&amp;gt; tick=10 ' ' tick=11  '39,V10'  tick=12 ' '&lt;BR /&gt;
&amp;gt; tick=13 ' ' tick=14  '52,,V11' );&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I need to display the x-axis label in two lines like&lt;BR /&gt;
&amp;gt; this &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; 0   2    4    9  12  14           (This is firstline&lt;BR /&gt;
&amp;gt; for weeks) &lt;BR /&gt;
&amp;gt; v1 v2  v3  v4  v5   v6         (this is second line&lt;BR /&gt;
&amp;gt; for visits)&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Can  anyone please help me in splitting the value&lt;BR /&gt;
&amp;gt; into two lines inspite of tick option, or any other&lt;BR /&gt;
&amp;gt; alternative.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Thanks  in advance for your suggestions.&lt;BR /&gt;
&lt;BR /&gt;
This has to be done using proc gplot. &lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 10 Jun 2011 14:45:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/split-option-in-axis-statement-splitng-the-label-into-two-lines/m-p/11010#M146</guid>
      <dc:creator>keen_sas</dc:creator>
      <dc:date>2011-06-10T14:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: split option in axis statement/splitng  the label  into two lines on x-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/split-option-in-axis-statement-splitng-the-label-into-two-lines/m-p/11011#M147</link>
      <description>I have never been very successful with the split= option.  However repeating a justification option will cause the text to split.&lt;BR /&gt;
[pre]&lt;BR /&gt;
axis1 value = (t=1 j=c '11' j=c 'years'&lt;BR /&gt;
               t=2 j=c '12' j=c 'years');&lt;BR /&gt;
proc gplot data=sashelp.class;&lt;BR /&gt;
plot weight* age/haxis=axis1;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 14 Jun 2011 00:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/split-option-in-axis-statement-splitng-the-label-into-two-lines/m-p/11011#M147</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2011-06-14T00:49:40Z</dc:date>
    </item>
  </channel>
</rss>

