<?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: Connect boxes in proc sgplot except one in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Connect-boxes-in-proc-sgplot-except-one/m-p/796286#M22597</link>
    <description>&lt;P&gt;I haven't tried this, but the doc says you can overlay box plots as long as you have same category variable.&amp;nbsp; So, I suggest you can have two analysis variable columns A &amp;amp; B.&amp;nbsp; A should have analysis data missing for last category, while B should have data only for the last category.&amp;nbsp; Then, use VBOX with connect with A and a separate VBOX for B.&amp;nbsp; Both should have the same category variable.&amp;nbsp; This will avoid the need to compute the mean values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not work, you can use the methods described in this blog article to overlay custom connect line.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2015/12/04/boxplot-with-connect/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2015/12/04/boxplot-with-connect/&lt;/A&gt;&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/06/boxplot-with-connect-using-annotate/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/graphicallyspeaking/2015/12/06/boxplot-with-connect-using-annotate/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 15:23:45 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2022-02-15T15:23:45Z</dc:date>
    <item>
      <title>Connect boxes in proc sgplot except one</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Connect-boxes-in-proc-sgplot-except-one/m-p/796222#M22595</link>
      <description>&lt;P&gt;Hi I have to do a boxplot with category "Visits". I want to connect boxes of those visits by mean except one visit "End Of Treatment". So it should be like all visits=boxes are connected by line (mean) and there is one box=EOT that is not. Is it possible ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=lb3 dattrmap=attrmap ;&lt;/P&gt;&lt;P&gt;vbox result/category=visit connect=mean FILLATTRS=red attrid=hybrid meanattrs=(symbol=circle ) whiskerattrs=(pattern=mediumdash);&lt;/P&gt;&lt;P&gt;xaxis label="Timepoint" ;&lt;BR /&gt;Yaxis values=(0 to 30 by 2) ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 08:01:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Connect-boxes-in-proc-sgplot-except-one/m-p/796222#M22595</guid>
      <dc:creator>Jedrzej</dc:creator>
      <dc:date>2022-02-15T08:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Connect boxes in proc sgplot except one</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Connect-boxes-in-proc-sgplot-except-one/m-p/796270#M22596</link>
      <description>&lt;P&gt;Do you have any example data we can use to experiment with?&lt;/P&gt;
&lt;P&gt;The line you're wanting could be drawn with sganno (annotate).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 13:42:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Connect-boxes-in-proc-sgplot-except-one/m-p/796270#M22596</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2022-02-15T13:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Connect boxes in proc sgplot except one</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Connect-boxes-in-proc-sgplot-except-one/m-p/796286#M22597</link>
      <description>&lt;P&gt;I haven't tried this, but the doc says you can overlay box plots as long as you have same category variable.&amp;nbsp; So, I suggest you can have two analysis variable columns A &amp;amp; B.&amp;nbsp; A should have analysis data missing for last category, while B should have data only for the last category.&amp;nbsp; Then, use VBOX with connect with A and a separate VBOX for B.&amp;nbsp; Both should have the same category variable.&amp;nbsp; This will avoid the need to compute the mean values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not work, you can use the methods described in this blog article to overlay custom connect line.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2015/12/04/boxplot-with-connect/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2015/12/04/boxplot-with-connect/&lt;/A&gt;&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/06/boxplot-with-connect-using-annotate/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/graphicallyspeaking/2015/12/06/boxplot-with-connect-using-annotate/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 15:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Connect-boxes-in-proc-sgplot-except-one/m-p/796286#M22597</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2022-02-15T15:23:45Z</dc:date>
    </item>
  </channel>
</rss>

