<?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: Give different scales to an axis in a plot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/456011#M15652</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205866"&gt;@Josemz94&lt;/a&gt; wrote:&lt;BR /&gt;That does not work for me because in my data sample the outliers are distributed more uniformly along the axis. Giving your example, I would need that the 20-230 interval is more compressed than the 0-20 interval. Is it possible?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Did you try it and it didn't work? You can specify the intervals as well, so there may be a way, but if you could provide the code you've tried so far that would be helpful.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2018 17:31:38 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-04-20T17:31:38Z</dc:date>
    <item>
      <title>Give different scales to an axis in a plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/455979#M15649</link>
      <description>I would like to divide one axis of a plot in different scales. I have a data sample distributed mainly between 0 and 10 in the x axis, and a few outliers between 10 and 100. I would like that the interval 0-10 occupies at least half of the x axis and the interval 10-100 the other half, allowing to see clearly the majority of the dots while not losing sight of the few outliers.&lt;BR /&gt;&lt;BR /&gt;Thank you in advanced.</description>
      <pubDate>Fri, 20 Apr 2018 16:14:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/455979#M15649</guid>
      <dc:creator>Josemz94</dc:creator>
      <dc:date>2018-04-20T16:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Give different scales to an axis in a plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/455986#M15650</link>
      <description>&lt;P&gt;Create a broken axis like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;data new;
   input Type $1 Value;
   datalines;
A 10
B 15
C 12
D 17
E 205
F 225
;
run;

proc sgplot data=new;
   vbar type / response=value;
   yaxis ranges=(0-20 200-230);
run;&lt;/CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code from here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/55/683.html&amp;nbsp;" target="_blank"&gt;http://support.sas.com/kb/55/683.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that I've moved your post to the graphics forum as well.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205866"&gt;@Josemz94&lt;/a&gt; wrote:&lt;BR /&gt;I would like to divide one axis of a plot in different scales. I have a data sample distributed mainly between 0 and 10 in the x axis, and a few outliers between 10 and 100. I would like that the interval 0-10 occupies at least half of the x axis and the interval 10-100 the other half, allowing to see clearly the majority of the dots while not losing sight of the few outliers.&lt;BR /&gt;&lt;BR /&gt;Thank you in advanced.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 16:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/455986#M15650</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-20T16:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Give different scales to an axis in a plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/456005#M15651</link>
      <description>That does not work for me because in my data sample the outliers are distributed more uniformly along the axis. Giving your example, I would need that the 20-230 interval is more compressed than the 0-20 interval. Is it possible?&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Fri, 20 Apr 2018 17:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/456005#M15651</guid>
      <dc:creator>Josemz94</dc:creator>
      <dc:date>2018-04-20T17:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Give different scales to an axis in a plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/456011#M15652</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205866"&gt;@Josemz94&lt;/a&gt; wrote:&lt;BR /&gt;That does not work for me because in my data sample the outliers are distributed more uniformly along the axis. Giving your example, I would need that the 20-230 interval is more compressed than the 0-20 interval. Is it possible?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Did you try it and it didn't work? You can specify the intervals as well, so there may be a way, but if you could provide the code you've tried so far that would be helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 17:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/456011#M15652</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-20T17:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Give different scales to an axis in a plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/456048#M15655</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205866"&gt;@Josemz94&lt;/a&gt; wrote:&lt;BR /&gt;That does not work for me because in my data sample the outliers are distributed more uniformly along the axis. Giving your example, I would need that the 20-230 interval is more compressed than the 0-20 interval. Is it possible?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Perhaps try a logarithmic scale such as&lt;/P&gt;
&lt;P&gt;xaxis logbase=10 logstyle=logexpand;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 19:20:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Give-different-scales-to-an-axis-in-a-plot/m-p/456048#M15655</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-20T19:20:45Z</dc:date>
    </item>
  </channel>
</rss>

