<?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: The Y axis break changes its location when Innermargin is added. How can I prevent this? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474565#M16395</link>
    <description>Thank you very much for all your help!&lt;BR /&gt;Giampaolo&lt;BR /&gt;</description>
    <pubDate>Fri, 29 Jun 2018 18:59:15 GMT</pubDate>
    <dc:creator>Giampaolo</dc:creator>
    <dc:date>2018-06-29T18:59:15Z</dc:date>
    <item>
      <title>The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474497#M16375</link>
      <description>&lt;P&gt;Hi SAS users,&lt;/P&gt;&lt;P&gt;I have constructed a boxplot graph with a lattice layout&amp;nbsp;and a break at a specific location&amp;nbsp;of the Y AXES. I&amp;nbsp;was trying&amp;nbsp;to add the&amp;nbsp;n for the comparison groups to the bottom row by using innermargins. However when I add the&amp;nbsp;innermargin the Y axis break changes location&amp;nbsp; and disrupt the graph. What can I do to preserve the break at the right spot?&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;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define statgraph BrokenAxis;



    begingraph;
		layout lattice / rows=2 rowweights= (.5 .5)columns=1;
		rowaxes;
		 rowaxis / griddisplay= on display = (ticks tickvalues line);
		  rowaxis / griddisplay= on display = (ticks tickvalues line);
		 endrowaxes;
   		entrytitle 'Unadjusted';
/*define row 1 */   
		layout overlay /  	xaxisopts= (display= (line))  
							yaxisopts=(display=(ticks tickvalues label)label="Cost ($)" griddisplay=on
                                  linearopts=(includeranges=(min-120000 330000-max) 
                                   tickvaluelist=(20000 40000 60000 80000 100000 330000)));

			boxplot x=&amp;amp;GRP    y= ACT_TOTAL_COSTad /
			meanattrs = (SYMBOL = DIAMOND weight=bold ) group=&amp;amp;XVAR  groupdisplay=cluster
			medianattrs= (thickness = 2);

			endlayout; 

/*define row 2 */
		layout overlay /xaxisopts=(  display=(ticks tickvalues line) type=discrete 
										discreteopts =(tickvaluefitpolicy=extractalways  ) )
                        yaxisopts=(display=(ticks tickvalues label)label="poLOS (days)" griddisplay=on
                                  linearopts=(includeranges=(min-30 95-max)
                                   tickvaluelist=(5 10 15 20 25  95)));

			boxplot x= &amp;amp;GRP  y= postopLOS / meanattrs = (SYMBOL = DIAMOND weight=bold ) group= &amp;amp;XVAR groupdisplay=cluster
												 medianattrs= (thickness = 2)name ="L" ;
							discretelegend "L" /border=true AUTOALIGN = (BOTTOM) LOCATION=OUTSIDE ;

				innermargin / align=bottom separator=true;
 					axistable x =&amp;amp;GRP   value = np /class=&amp;amp;XVAR colorgroup=&amp;amp;XVAR
									valueattrs=(size=7) labelattrs=(size=7);
				endinnermargin;
		endlayout; 	
	  endlayout;
	endgraph;
  end;
run;


proc sgrender data= combined1 template= BrokenAxis;

format DM DM. ACT_TOTAL_COSTad cost_D comma7.;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 16:53:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474497#M16375</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T16:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474503#M16377</link>
      <description>&lt;P&gt;Since we don't have your data, try these two things and see if it makes any difference:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Remove the ROWAXES block. Since your ROWDATARANGE is DATA by default, they should have no effect -- but let's see.&lt;/P&gt;
&lt;P&gt;2. On your AXISTABLE, set CLASSDISPLAY=CLUSTER, which will position your axis table values under the box, taking up less vertical space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post back with your results.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 17:18:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474503#M16377</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-06-29T17:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474527#M16378</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;Thank you for&amp;nbsp;your suggestions. The result is&amp;nbsp;still messy though: not all the N are displayed, only the first row (blue). The break was raised a little but the outliers shown above the break at 95, in reality should be below it. Any other idea?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Giampaolo&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 17:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474527#M16378</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T17:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474542#M16380</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;I am sorry I just realized that&amp;nbsp;I did not implement your suggestion to include CLASSDISPLAY=CLUSTER.&lt;/P&gt;&lt;P&gt;For some reason&amp;nbsp;the command&amp;nbsp;is ignored and I cannot manage to overcome the below message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;CLASSDISPLAY=CLUSTER

------------

1

WARNING 1-322: Assuming the symbol CLASS was misspelled as

CLASSDISPLAY.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:13:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474542#M16380</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T18:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474543#M16381</link>
      <description>&lt;P&gt;What version of SAS are you using?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474543#M16381</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-06-29T18:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474544#M16382</link>
      <description>9.4</description>
      <pubDate>Fri, 29 Jun 2018 18:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474544#M16382</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T18:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474546#M16383</link>
      <description>&lt;P&gt;Which maintenance level? The easiest way to get that information is to run the following code;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%put &amp;amp;sysvlong;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474546#M16383</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-06-29T18:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474548#M16385</link>
      <description>9.4&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474548#M16385</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T18:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474549#M16386</link>
      <description>&lt;PRE&gt;10959  %put &amp;amp;sysvlong;
9.04.01M1P120413&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:21:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474549#M16386</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T18:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474551#M16387</link>
      <description>9.04.01M1P120413&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 29 Jun 2018 18:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474551#M16387</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T18:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474559#M16389</link>
      <description>&lt;P&gt;We did some testing here, and found this particular issue was fixed at SAS 9.4m3 (maintenance 3). You are currently running maintenance 1. Also, the CLASSDISPLAY option I suggested was added in maintenance 2. Do you have access to a maintenance 3 or greater installation?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:42:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474559#M16389</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-06-29T18:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474560#M16390</link>
      <description>No I use the version that is made available by the university.&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474560#M16390</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T18:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474561#M16391</link>
      <description>&lt;P&gt;If you download the latest University Edition, you should be able to do this graph without any problem.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474561#M16391</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-06-29T18:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474562#M16392</link>
      <description>Could you please let me know how to do this? Is there a link?&lt;BR /&gt;Thank you!&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:54:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474562#M16392</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T18:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474563#M16393</link>
      <description>&lt;P&gt;Absolutely! Go to the link below and click on the "Free Software" button. The web pages will take you through the steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/en_us/software/university-edition.html" target="_blank"&gt;https://www.sas.com/en_us/software/university-edition.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474563#M16393</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-06-29T18:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: The Y axis break changes its location when Innermargin is added. How can I prevent this?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474565#M16395</link>
      <description>Thank you very much for all your help!&lt;BR /&gt;Giampaolo&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/The-Y-axis-break-changes-its-location-when-Innermargin-is-added/m-p/474565#M16395</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2018-06-29T18:59:15Z</dc:date>
    </item>
  </channel>
</rss>

