<?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 histogram with break in y axis in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126803#M4932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV id="gmBabelFish" style="border: 1px solid black; display: none; position: absolute; background-color: #a8ecff; padding: 2px; font-size: 12px; color: black; text-align: left; z-index: 100;"&gt;&lt;DIV style="border-bottom: 1px dotted black; padding-bottom: 2px; padding-top: 2px;"&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Close babel mousish"&gt;x&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Configure languange"&gt;c&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: default;" title="From English To Italian"&gt;en &amp;gt; it&lt;/SPAN&gt;&lt;IMG align="middle" src="https://communities.sas.com/" style="cursor: pointer;" title="click to translate" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;I need to compare the histogram of a discrete but quantitative variable (that has about 30 values with increment of one) between two groups. the last value of the x-variable has a mass of frequency much much higher that the others. Since I would like to show all the values on the x-axis, maybe a discontinuous Y axis would be the right way.&lt;/P&gt;&lt;P&gt;In alternative I can also use a line graph, but for the same reason I would need a break on the Y axis.&lt;/P&gt;&lt;P&gt;Is there a way to create such a graph possibly with an sg graph solution?&lt;/P&gt;&lt;P&gt;I'm running 9.2&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2012 13:23:43 GMT</pubDate>
    <dc:creator>ciro</dc:creator>
    <dc:date>2012-05-25T13:23:43Z</dc:date>
    <item>
      <title>histogram with break in y axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126803#M4932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV id="gmBabelFish" style="border: 1px solid black; display: none; position: absolute; background-color: #a8ecff; padding: 2px; font-size: 12px; color: black; text-align: left; z-index: 100;"&gt;&lt;DIV style="border-bottom: 1px dotted black; padding-bottom: 2px; padding-top: 2px;"&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Close babel mousish"&gt;x&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Configure languange"&gt;c&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: default;" title="From English To Italian"&gt;en &amp;gt; it&lt;/SPAN&gt;&lt;IMG align="middle" src="https://communities.sas.com/" style="cursor: pointer;" title="click to translate" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;I need to compare the histogram of a discrete but quantitative variable (that has about 30 values with increment of one) between two groups. the last value of the x-variable has a mass of frequency much much higher that the others. Since I would like to show all the values on the x-axis, maybe a discontinuous Y axis would be the right way.&lt;/P&gt;&lt;P&gt;In alternative I can also use a line graph, but for the same reason I would need a break on the Y axis.&lt;/P&gt;&lt;P&gt;Is there a way to create such a graph possibly with an sg graph solution?&lt;/P&gt;&lt;P&gt;I'm running 9.2&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 13:23:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126803#M4932</guid>
      <dc:creator>ciro</dc:creator>
      <dc:date>2012-05-25T13:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: histogram with break in y axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126804#M4933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV id="gmBabelFish" style="border: 1px solid black; display: none; position: absolute; background-color: #a8ecff; padding: 2px; font-size: 12px; color: black; text-align: left; z-index: 100;"&gt;&lt;DIV style="border-bottom: 1px dotted black; padding-bottom: 2px; padding-top: 2px;"&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Close babel mousish"&gt;x&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Configure languange"&gt;c&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: default;" title="From English To Italian"&gt;en &amp;gt; it&lt;/SPAN&gt;&lt;IMG align="middle" src="https://communities.sas.com/" style="cursor: pointer;" title="click to translate" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;no hints?&lt;/P&gt;&lt;P&gt;isn't it possible with gtl? I would appreciate if someone could suggest a code for a problem like this.&lt;/P&gt;&lt;P&gt;anyway thank you all very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 07:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126804#M4933</guid>
      <dc:creator>ciro</dc:creator>
      <dc:date>2012-05-30T07:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: histogram with break in y axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126805#M4934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way statisticians handle this issue is to use a log-scale axis for Y. This is seen as being more "honest" than to break the axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second approach is to alter the data so that the tall bar is not as tall, and then put an arrow over it (pointing up) with the true value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 11:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126805#M4934</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-05-30T11:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: histogram with break in y axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126806#M4935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick's idea is the easiest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you could use a GTL Lattice Layout with a two cell stack.&amp;nbsp; Pre summarize (or bin) the data, and use a HistogramParm or a BarChart in each cell.&amp;nbsp; Make upper cell shorter.&amp;nbsp; Set the Y axis Viewmin and Viewmax to see the ranges you need.&amp;nbsp; Here is example.&amp;nbsp; Let me know if this work for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Tall_bar.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2111_Tall_bar.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;data TallBar;&lt;BR /&gt;&amp;nbsp; input X $ Y;&lt;BR /&gt;&amp;nbsp; datalines;&lt;BR /&gt;A&amp;nbsp; 10&lt;BR /&gt;B&amp;nbsp; 15&lt;BR /&gt;C&amp;nbsp; 12&lt;BR /&gt;D&amp;nbsp; 17&lt;BR /&gt;E&amp;nbsp; 200&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;proc print;run;&lt;BR /&gt; &lt;BR /&gt;proc template;&lt;BR /&gt;&amp;nbsp; define statgraph tall_bar;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; begingraph;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entrytitle 'Broken Bar';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout lattice / rows=2 columndatarange=union rowweights=(0.4 0.6) rowgutter=5;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columnaxes;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columnaxis;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcolumnaxes;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay / yaxisopts=(display=(ticks tickvalues)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; offsetmin=0 linearopts=(viewmin=185 tickvaluelist=(190 195 200)));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; barchart x=x y=y;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay / yaxisopts=(display=(ticks tickvalues)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; offsetmin=0 linearopts=(viewmax=25 tickvaluelist=(0 5 10 15 20)));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; barchart x=x y=y;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; endlayout;&lt;BR /&gt; endgraph;&lt;BR /&gt;&amp;nbsp; end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics / reset width=4in height=3in imagename='Tall_bar';&lt;BR /&gt;proc sgrender data=TallBar template=tall_bar;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 19:41:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126806#M4935</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-05-30T19:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: histogram with break in y axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126807#M4936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wow, the example above seems what I was ooking for. I'll try to apply to my data and adapt to the group comparison&lt;/P&gt;&lt;P&gt;the idea of altering the taller bar is also very nice and looks quite simple. thank you very much to both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 21:24:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126807#M4936</guid>
      <dc:creator>ciro</dc:creator>
      <dc:date>2012-05-31T21:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: histogram with break in y axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126808#M4937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See another idea (SAS 9.3) in blog article on &lt;A href="http://blogs.sas.com/content/graphicallyspeaking/"&gt;Broken y-Axis&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 02:52:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/histogram-with-break-in-y-axis/m-p/126808#M4937</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-01T02:52:15Z</dc:date>
    </item>
  </channel>
</rss>

