<?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 Alter axis size with broken axes in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Alter-axis-size-with-broken-axes/m-p/552920#M18023</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully a simple ask but I'm looking to adjust how much space each section of my y-axis take up in my graph after splitting. The goal being to stretch out the bottom half more to better see changes. Is there way to dictate that that each section of the y-axis take up say 50% of the graph? So,&amp;nbsp;&lt;CODE class=" language-sas"&gt;min-630 take up 50% of the graph and&amp;nbsp;4699-max take up the other 50%.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
	input week var1 var2;
	datalines;
1 572 7532
2 580 6638
3 522 5220
4 494 6423
5 555 4749
6 452 4818
7 526 5337
run;

proc sgplot data=test;
	styleattrs axisbreak=spark;
	vline week /response=var1;
	vline week /response=var2;
	yaxis ranges=(min-630 4699-max);
run;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2019 15:53:40 GMT</pubDate>
    <dc:creator>sfridy</dc:creator>
    <dc:date>2019-04-22T15:53:40Z</dc:date>
    <item>
      <title>Alter axis size with broken axes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Alter-axis-size-with-broken-axes/m-p/552920#M18023</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully a simple ask but I'm looking to adjust how much space each section of my y-axis take up in my graph after splitting. The goal being to stretch out the bottom half more to better see changes. Is there way to dictate that that each section of the y-axis take up say 50% of the graph? So,&amp;nbsp;&lt;CODE class=" language-sas"&gt;min-630 take up 50% of the graph and&amp;nbsp;4699-max take up the other 50%.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
	input week var1 var2;
	datalines;
1 572 7532
2 580 6638
3 522 5220
4 494 6423
5 555 4749
6 452 4818
7 526 5337
run;

proc sgplot data=test;
	styleattrs axisbreak=spark;
	vline week /response=var1;
	vline week /response=var2;
	yaxis ranges=(min-630 4699-max);
run;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 15:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Alter-axis-size-with-broken-axes/m-p/552920#M18023</guid>
      <dc:creator>sfridy</dc:creator>
      <dc:date>2019-04-22T15:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alter axis size with broken axes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Alter-axis-size-with-broken-axes/m-p/552976#M18024</link>
      <description>&lt;P&gt;As a suggestion, why not use both both y-axes if the sole purpose is to better see the changes? The code is even simpler than it would be to allocate 50 percent of a single y-axis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=test;
	vline week /response=var1;
	vline week / y2axis response=var2;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Apr 2019 18:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Alter-axis-size-with-broken-axes/m-p/552976#M18024</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-04-22T18:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Alter axis size with broken axes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Alter-axis-size-with-broken-axes/m-p/553243#M18028</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
	input week var1 var2;
	datalines;
1 572 7532
2 580 6638
3 522 5220
4 494 6423
5 555 4749
6 452 4818
7 526 5337
;
run;

proc sgplot data=test;
	*styleattrs axisbreak=spark;
	vline week /response=var1;
	vline week /response=var2;
	yaxis ranges=(min-630 4699-max) type=log
	values=(200,300,400,500,4000,5000,6000,7000);
run; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Apr 2019 13:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Alter-axis-size-with-broken-axes/m-p/553243#M18028</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-04-23T13:35:13Z</dc:date>
    </item>
  </channel>
</rss>

