<?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: Getting scatterplot to overlay box plot proc sgplot vbox in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436549#M15055</link>
    <description>&lt;P&gt;Depends on your version of SAS, not all versions support this type of overlays.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0yud64khw8fuin1xgr85dgxbb7t.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1fzdaye495qz9n1u7e8hm0v4rdz" target="_blank"&gt;http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0yud64khw8fuin1xgr85dgxbb7t.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1fzdaye495qz9n1u7e8hm0v4rdz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, there are workarounds and this has been asked and answered before.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2015/12/23/box-plot-with-stat-table-and-markers/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2015/12/23/box-plot-with-stat-table-and-markers/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/overlay-jitter-scatter-plot-on-boxplot-in-sgplot/td-p/389992" target="_blank"&gt;https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/overlay-jitter-scatter-plot-on-boxplot-in-sgplot/td-p/389992&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2012/10/30/violin-plots/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2012/10/30/violin-plots/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another possible&amp;nbsp;cause is TRANSPARENCY = 1 -&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="xis-argument"&gt;TRANSPARENCY=&lt;SPAN class="xis-userSuppliedValue"&gt;value&lt;/SPAN&gt;&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P&gt;&lt;SPAN class="xis-shortDescription"&gt;specifies the degree of transparency for the plot.&lt;/SPAN&gt; &lt;SPAN class="xis-paraSimpleFirst"&gt;The transparency that you specify applies to all aspects of the plot statement. &lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryDefault"&gt;Default&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;0.0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryRange"&gt;Range&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;0 (completely opaque) to &lt;STRONG&gt;1 (completely transparent)&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p1lcbd3lhs3t3bn1jk6d8sjt2yqx.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0hjrs3w86z8ean1npu022im7j2su" target="_blank"&gt;http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p1lcbd3lhs3t3bn1jk6d8sjt2yqx.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0hjrs3w86z8ean1npu022im7j2su&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/171600"&gt;@bsriv&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to get a scatter plot to overlay my box plot with proc sgplot vbox.&amp;nbsp; The box plot looks great but it's not showing the individual data points.&amp;nbsp; I've exhaustively searched the forum, and this is what I could come up with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title "Individual Resting State Network Connectivities";&lt;BR /&gt;proc sgplot data=new_t&amp;nbsp;&lt;BR /&gt;vbox col1 / group=_name_ ;&lt;BR /&gt;scatter x=_name_ y=col1 / jitter transparency=1.0&lt;BR /&gt;markerattrs=(color=black symbol=CircleFilled);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I missing???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2018 03:26:26 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-02-13T03:26:26Z</dc:date>
    <item>
      <title>Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436527#M15054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get a scatter plot to overlay my box plot with proc sgplot vbox.&amp;nbsp; The box plot looks great but it's not showing the individual data points.&amp;nbsp; I've exhaustively searched the forum, and this is what I could come up with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title "Individual Resting State Network Connectivities";&lt;BR /&gt;proc sgplot data=new_t&amp;nbsp;&lt;BR /&gt;vbox col1 / group=_name_ ;&lt;BR /&gt;scatter x=_name_ y=col1 / jitter transparency=1.0&lt;BR /&gt;markerattrs=(color=black symbol=CircleFilled);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 01:49:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436527#M15054</guid>
      <dc:creator>bsriv</dc:creator>
      <dc:date>2018-02-13T01:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436549#M15055</link>
      <description>&lt;P&gt;Depends on your version of SAS, not all versions support this type of overlays.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0yud64khw8fuin1xgr85dgxbb7t.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1fzdaye495qz9n1u7e8hm0v4rdz" target="_blank"&gt;http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0yud64khw8fuin1xgr85dgxbb7t.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1fzdaye495qz9n1u7e8hm0v4rdz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, there are workarounds and this has been asked and answered before.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2015/12/23/box-plot-with-stat-table-and-markers/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2015/12/23/box-plot-with-stat-table-and-markers/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/overlay-jitter-scatter-plot-on-boxplot-in-sgplot/td-p/389992" target="_blank"&gt;https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/overlay-jitter-scatter-plot-on-boxplot-in-sgplot/td-p/389992&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2012/10/30/violin-plots/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2012/10/30/violin-plots/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another possible&amp;nbsp;cause is TRANSPARENCY = 1 -&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="xis-argument"&gt;TRANSPARENCY=&lt;SPAN class="xis-userSuppliedValue"&gt;value&lt;/SPAN&gt;&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P&gt;&lt;SPAN class="xis-shortDescription"&gt;specifies the degree of transparency for the plot.&lt;/SPAN&gt; &lt;SPAN class="xis-paraSimpleFirst"&gt;The transparency that you specify applies to all aspects of the plot statement. &lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryDefault"&gt;Default&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;0.0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryRange"&gt;Range&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;0 (completely opaque) to &lt;STRONG&gt;1 (completely transparent)&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p1lcbd3lhs3t3bn1jk6d8sjt2yqx.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0hjrs3w86z8ean1npu022im7j2su" target="_blank"&gt;http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p1lcbd3lhs3t3bn1jk6d8sjt2yqx.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0hjrs3w86z8ean1npu022im7j2su&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/171600"&gt;@bsriv&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to get a scatter plot to overlay my box plot with proc sgplot vbox.&amp;nbsp; The box plot looks great but it's not showing the individual data points.&amp;nbsp; I've exhaustively searched the forum, and this is what I could come up with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title "Individual Resting State Network Connectivities";&lt;BR /&gt;proc sgplot data=new_t&amp;nbsp;&lt;BR /&gt;vbox col1 / group=_name_ ;&lt;BR /&gt;scatter x=_name_ y=col1 / jitter transparency=1.0&lt;BR /&gt;markerattrs=(color=black symbol=CircleFilled);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I missing???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 03:26:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436549#M15055</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-13T03:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436942#M15065</link>
      <description>&lt;P&gt;Thanks- I'm using SAS university but I tried a computer with SAS 9.4 and was having the same problems.&amp;nbsp; &amp;nbsp;Either way, none of the links posted provide "workarounds" or am I missing something?&amp;nbsp; &amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 00:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436942#M15065</guid>
      <dc:creator>bsriv</dc:creator>
      <dc:date>2018-02-14T00:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436973#M15066</link>
      <description>&lt;P&gt;It works fine for me out of the box, SAS University Edition, so you have some other issue, either the transparency or something else in your data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run the solution from here, which you should be able to do on any SAS installation out of the box:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/overlay-jitter-scatter-plot-on-boxplot-in-sgplot/td-p/389992" target="_blank"&gt;https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/overlay-jitter-scatter-plot-on-boxplot-in-sgplot/td-p/389992&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/171600"&gt;@bsriv&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks- I'm using SAS university but I tried a computer with SAS 9.4 and was having the same problems.&amp;nbsp; &amp;nbsp;Either way, none of the links posted provide "workarounds" or am I missing something?&amp;nbsp; &amp;nbsp;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 03:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/436973#M15066</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-14T03:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437183#M15072</link>
      <description>&lt;P&gt;If I change group to category it works but then the order is messed up, and the colors are gone.&amp;nbsp; Is there a way to do in group or have the categories colored?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 16:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437183#M15072</guid>
      <dc:creator>bsriv</dc:creator>
      <dc:date>2018-02-14T16:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437187#M15073</link>
      <description>&lt;P&gt;There probably is.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be much much easier if you used the SASHELP.CARS data set and showed the code you currently have, the graph getting produced and what changes you want made. I'm guessing at this point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/171600"&gt;@bsriv&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;If I change group to category it works but then the order is messed up, and the colors are gone.&amp;nbsp; Is there a way to do in group or have the categories colored?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 16:17:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437187#M15073</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-14T16:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437239#M15074</link>
      <description>&lt;P&gt;First with "category"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc transpose data=sashelp.cars out=new_t;&lt;BR /&gt;by Make;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title "Cars";&lt;BR /&gt;proc sgplot data=new_t;&lt;BR /&gt;vbox Col1 / category=_name_ ;&lt;BR /&gt;scatter x=_name_ y=col1 / jitter transparency=0.0&lt;BR /&gt;markerattrs=(color=black symbol=CircleFilled);&lt;BR /&gt;run;&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="Screen Shot 2018-02-14 at 11.13.17 AM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18564i1EAC1F1D4BDB2DC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-02-14 at 11.13.17 AM.png" alt="Screen Shot 2018-02-14 at 11.13.17 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then with group&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc transpose data=sashelp.cars out=new_t;&lt;BR /&gt;by Make;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title "Cars";&lt;BR /&gt;proc sgplot data=new_t;&lt;BR /&gt;vbox Col1 / group=_name_ ;&lt;BR /&gt;scatter x=_name_ y=col1 / jitter transparency=0.0&lt;BR /&gt;markerattrs=(color=black symbol=CircleFilled);&lt;BR /&gt;run;&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="Screen Shot 2018-02-14 at 11.15.56 AM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18566iE3D3DEDFC34628B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-02-14 at 11.15.56 AM.png" alt="Screen Shot 2018-02-14 at 11.15.56 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then group and group order descend&lt;/P&gt;&lt;P&gt;proc transpose data=sashelp.cars out=new_t;&lt;BR /&gt;by Make;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title "Cars";&lt;BR /&gt;proc sgplot data=new_t;&lt;BR /&gt;vbox Col1 / group=_name_ grouporder=descending;&lt;BR /&gt;scatter x=_name_ y=col1 / jitter transparency=0.0&lt;BR /&gt;markerattrs=(color=black symbol=CircleFilled);&lt;BR /&gt;run;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-14 at 11.17.48 AM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18567i7E8E68556B9CD772/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-02-14 at 11.17.48 AM.png" alt="Screen Shot 2018-02-14 at 11.17.48 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 17:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437239#M15074</guid>
      <dc:creator>bsriv</dc:creator>
      <dc:date>2018-02-14T17:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437241#M15075</link>
      <description>&lt;P&gt;Isn't the first one correct? Though the scale is not the same so I'm not sure of the value of trying to show these variables in the same plot when they have varying widely scales? Perhaps looking at them one a time may work better?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at only MPG which is on the same scale:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "Cars";
proc sgplot data=new_t;
where _name_ =: 'MPG';
vbox Col1 / category=_name_ ;
scatter x=_name_ y=col1 / jitter transparency=0.0
markerattrs=(color=black symbol=CircleFilled);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Feb 2018 17:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437241#M15075</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-14T17:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437246#M15076</link>
      <description>&lt;P&gt;It is correct in the sense it shows the scatter plot superimposed on the boxplot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT- how do I get the boxes to be different colors AND how do I get this to display in descending order?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 17:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437246#M15076</guid>
      <dc:creator>bsriv</dc:creator>
      <dc:date>2018-02-14T17:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437249#M15077</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/171600"&gt;@bsriv&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;It is correct in the sense it shows the scatter plot superimposed on the boxplot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So your original question is answered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT- how do I get the boxes to be different colors AND how do I get this to display in descending order?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And you have a new DIFFERENT question. GROUPORDER=DESCENDING works for me to change the order, but this depends on how you define DESCENDING. If you define it differently you can force it with a format instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And try a discrete attribute table to set the colours.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 17:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437249#M15077</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-14T17:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437252#M15078</link>
      <description>&lt;P&gt;The issue is that group order descending&amp;nbsp; works, I can't see the scatterplot with "group" only with "category", for which I can't use grouporder...&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 18:09:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437252#M15078</guid>
      <dc:creator>bsriv</dc:creator>
      <dc:date>2018-02-14T18:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437253#M15079</link>
      <description>&lt;P&gt;Presort your data in desired order?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 18:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437253#M15079</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-14T18:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scatterplot to overlay box plot proc sgplot vbox</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437258#M15080</link>
      <description>&lt;P&gt;And one other option,&amp;nbsp; take the SGPLOT code, get the GTL code using TMPLOUT and modify that instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "Cars";
proc sgplot data=new_t tmplout='C:\_localdata\temp\myfile.sas';
where _name_ =: 'MPG';
vbox Col1 / category=_name_ ;
scatter x=_name_ y=col1 / jitter transparency=0.0 
markerattrs=(color=black symbol=CircleFilled);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Generates:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
define statgraph sgplot;
dynamic _ticklist_;
begingraph / collation=binary;
EntryTitle "Cars" /;
layout overlay / xaxisopts=(labelFitPolicy=Split) x2axisopts=(labelFitPolicy=Split) xaxisopts=(discreteOpts=(sortOrder=ascendingFormatted)) xaxisopts=(type=Discrete discreteOpts=(tickValueList=_ticklist_ tickvaluefitpolicy=SplitRotate tickValueListPolicy=Union)) x2axisopts=(discreteOpts=(sortOrder=ascendingFormatted)) x2axisopts=(type=Discrete discreteOpts=(tickValueList=_ticklist_ tickvaluefitpolicy=SplitRotate tickValueListPolicy=Union));
   BoxPlot X=_NAME_ Y=COL1 / primary=true LegendLabel="COL1" NAME="VBOX";
   ScatterPlot X=_NAME_ Y=COL1 / subpixel=off jitter=auto Markerattrs=( Color=CX000000 Symbol=CIRCLEFILLED) DataTransparency=0 LegendLabel="COL1" NAME="SCATTER";
   DiscreteLegend "VBOX" "SCATTER";
endlayout;
endgraph;
end;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;GTL gives you more control over the graphics but it's definitely harder to learn and work with compared to SGPLOT.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 18:22:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Getting-scatterplot-to-overlay-box-plot-proc-sgplot-vbox/m-p/437258#M15080</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-14T18:22:16Z</dc:date>
    </item>
  </channel>
</rss>

