<?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: Bubble plot CHART WITH sgplot : AXIS alignment without control in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Bubble-plot-CHART-WITH-sgplot-AXIS-alignment-without-control/m-p/643392#M192007</link>
    <description>&lt;P&gt;Solved adding the offset options to the x-axis line of code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;proc sgplot data=drivers&amp;amp;&amp;amp;mkt_nC&amp;amp;i noautolegend;&lt;BR /&gt;bubble x=YoyInt y=YoyOpp size=Sourced_Vol / group=inter_yy datalabel=inter_yy&lt;BR /&gt;transparency=0.4 datalabelattrs=(size=9 weight=bold);&lt;BR /&gt;xaxis grid min=-1 max=1 values=(-1 to 1 ) OFFSETMAX=0 OFFSETMIN=0 ;&lt;BR /&gt;yaxis grid min=-1 max=1 values=(-1 to 1 ) OFFSETMAX=0 OFFSETMIN=0 ;&lt;BR /&gt;REFLINE 0 / axis=x;&lt;BR /&gt;REFLINE 0 / axis=y;&lt;BR /&gt;refline -0.15 / axis=y lineattrs=(color=green thickness=3px&lt;BR /&gt;pattern=ShortDashDot);&lt;BR /&gt;lineparm x=0 y=0 slope=1; /** intercept, slope **/&lt;BR /&gt;inset "Inefficency and Inefficacy" / position=bottomright textattrs=(size=11);&lt;BR /&gt;inset "Inefficency Producers" / position=topright textattrs=(size=11);&lt;BR /&gt;inset "Efficacy &amp;amp; efficency" / position=topleft textattrs=(size=11);&lt;BR /&gt;inset "Decrease with efficency" / position=bottomleft textattrs=(size=11);&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 18:46:36 GMT</pubDate>
    <dc:creator>dcortell</dc:creator>
    <dc:date>2020-04-27T18:46:36Z</dc:date>
    <item>
      <title>Bubble plot CHART WITH sgplot : AXIS alignment without control</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bubble-plot-CHART-WITH-sgplot-AXIS-alignment-without-control/m-p/643362#M191995</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing style=htmlblue;&lt;BR /&gt;ods graphics / width=10in height=5in;&lt;/P&gt;&lt;P&gt;ods text="^S={fontweight=bold fontsize=15pt} Interaction Index drivers: Efficency vs Efficacy Cy vs Py";&lt;BR /&gt;proc sgplot data=inter_tot noautolegend;&lt;BR /&gt;bubble x=Yoy_NInter y=Yoy_NSourced size=Sourced_Vol2020 / group=countryname datalabel=countryname&lt;BR /&gt;transparency=0.4 datalabelattrs=(size=9 weight=bold);&lt;BR /&gt;xaxis grid min=-1 max=1 values=(-1 to 1 ) ;&lt;BR /&gt;yaxis grid min=-1 max=1 values=(-1 to 1 ) ;&lt;BR /&gt;REFLINE 0 / axis=x;&lt;BR /&gt;REFLINE 0 / axis=y;&lt;BR /&gt;refline -0.15 / axis=y lineattrs=(color=green thickness=3px&lt;BR /&gt;pattern=ShortDashDot);&lt;BR /&gt;lineparm x=0 y=0 slope=1; /** intercept, slope **/&lt;BR /&gt;inset "Inefficency and Inefficacy" / position=bottomright textattrs=(size=11);&lt;BR /&gt;inset "Inefficency Producers" / position=topright textattrs=(size=11);&lt;BR /&gt;inset "Efficacy &amp;amp; efficency" / position=topleft textattrs=(size=11);&lt;BR /&gt;inset "Decrease with efficency" / position=bottomleft textattrs=(size=11);&lt;BR /&gt;run;&lt;BR /&gt;ods text="Bubble size represents Sourced Vol.";&lt;BR /&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get weird results in terms of the derived bubble chart matrix:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- first case X-axis alignment went totally off&lt;/P&gt;&lt;P&gt;- second case all the instances are not included in the chart&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;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dcortell_0-1588006569881.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38801i86A3C49580E462D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dcortell_0-1588006569881.png" alt="dcortell_0-1588006569881.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dcortell_1-1588006588111.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38802i0DF5B2048E6B0794/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dcortell_1-1588006588111.png" alt="dcortell_1-1588006588111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this the table behind:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dcortell_2-1588006799574.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38803i6D434111B1D25922/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dcortell_2-1588006799574.png" alt="dcortell_2-1588006799574.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dcortell_3-1588006833548.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38804i3EDEB51C13266000/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dcortell_3-1588006833548.png" alt="dcortell_3-1588006833548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dcortell_4-1588006850657.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38805i51879AA1ED8EDED7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dcortell_4-1588006850657.png" alt="dcortell_4-1588006850657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion about this weird behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bests&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 17:01:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bubble-plot-CHART-WITH-sgplot-AXIS-alignment-without-control/m-p/643362#M191995</guid>
      <dc:creator>dcortell</dc:creator>
      <dc:date>2020-04-27T17:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble plot CHART WITH sgplot : AXIS alignment without control</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bubble-plot-CHART-WITH-sgplot-AXIS-alignment-without-control/m-p/643392#M192007</link>
      <description>&lt;P&gt;Solved adding the offset options to the x-axis line of code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;proc sgplot data=drivers&amp;amp;&amp;amp;mkt_nC&amp;amp;i noautolegend;&lt;BR /&gt;bubble x=YoyInt y=YoyOpp size=Sourced_Vol / group=inter_yy datalabel=inter_yy&lt;BR /&gt;transparency=0.4 datalabelattrs=(size=9 weight=bold);&lt;BR /&gt;xaxis grid min=-1 max=1 values=(-1 to 1 ) OFFSETMAX=0 OFFSETMIN=0 ;&lt;BR /&gt;yaxis grid min=-1 max=1 values=(-1 to 1 ) OFFSETMAX=0 OFFSETMIN=0 ;&lt;BR /&gt;REFLINE 0 / axis=x;&lt;BR /&gt;REFLINE 0 / axis=y;&lt;BR /&gt;refline -0.15 / axis=y lineattrs=(color=green thickness=3px&lt;BR /&gt;pattern=ShortDashDot);&lt;BR /&gt;lineparm x=0 y=0 slope=1; /** intercept, slope **/&lt;BR /&gt;inset "Inefficency and Inefficacy" / position=bottomright textattrs=(size=11);&lt;BR /&gt;inset "Inefficency Producers" / position=topright textattrs=(size=11);&lt;BR /&gt;inset "Efficacy &amp;amp; efficency" / position=topleft textattrs=(size=11);&lt;BR /&gt;inset "Decrease with efficency" / position=bottomleft textattrs=(size=11);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 18:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bubble-plot-CHART-WITH-sgplot-AXIS-alignment-without-control/m-p/643392#M192007</guid>
      <dc:creator>dcortell</dc:creator>
      <dc:date>2020-04-27T18:46:36Z</dc:date>
    </item>
  </channel>
</rss>

