<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, United Colors of Benetton</title>
    <link>http://www.mapleprimes.com/questions/126382-United-Colors-Of-Benetton</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sat, 13 Jun 2026 21:21:39 GMT</lastBuildDate>
    <pubDate>Sat, 13 Jun 2026 21:21:39 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, United Colors of Benetton</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, United Colors of Benetton</title>
      <link>http://www.mapleprimes.com/questions/126382-United-Colors-Of-Benetton</link>
    </image>
    <item>
      <title>uniting</title>
      <link>http://www.mapleprimes.com/questions/126382-United-Colors-Of-Benetton?ref=Feed:MaplePrimes:United Colors of Benetton:Comments#answer126422</link>
      <itunes:summary>&lt;p&gt;Do you mean you want to unite them visually (i.e. erase the boundaries between them)?&amp;nbsp; That's probably simpler than actually uniting the polygons, especially since the joined polygon might not be simply connected.&amp;nbsp; All you have to do is plot the polygons using style=patchnogrid.&lt;br&gt;Now perhaps you want to put back in the boundaries between different colours.&lt;br&gt;&lt;br&gt;For example:&lt;br&gt;&lt;br&gt;Data:= [[[[0,4],[1,3.2],[2,4]],[[1,3.2],[2,4],[2,2]]],&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [[[0,4],[1,3.2],[0,2]],[[0,2],[1,3.2],[2,2],[1,1.4]],[[0,2],[1,1.4],[0,0]]],&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [[[0,0],[1,1.4],[2,2],[2,0]]]];&lt;br&gt;Colours:= [red,green,yellow];&lt;br&gt;# original plot:&lt;br&gt;display(map(op,zip((d,c) -&amp;gt; map(polygonplot,d,colour=c), Data, Colours)),axes=none);&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=126422/422622/ucb1.jpg"&gt;&lt;img src="/view.aspx?sf=126422/422622/ucb1.jpg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;getedges:= L -&amp;gt; (seq({L[i],L[i+1]},i=1..nops(L)-1),{L[1],L[-1]});&lt;br&gt;Cedges:= [seq([seq](getedges(P),P=d),d=Data)];&lt;br&gt;outedges:= `union`(seq(convert(map(convert,select(t -&amp;gt; numboccur(t,C)=1, C),list),set),C=Cedges));&lt;br&gt;display(plot(outedges,colour=black),&lt;br&gt;&amp;nbsp;map(op,zip((d,c) -&amp;gt; map(polygonplot,d,colour=c), Data, Colours)),&lt;br&gt;style=patchnogrid,axes=none); &lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=126422/422622/ucb2.jpg"&gt;&lt;img src="/view.aspx?sf=126422/422622/ucb2.jpg" alt=""&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Do you mean you want to unite them visually (i.e. erase the boundaries between them)?&amp;nbsp; That's probably simpler than actually uniting the polygons, especially since the joined polygon might not be simply connected.&amp;nbsp; All you have to do is plot the polygons using style=patchnogrid.&lt;br&gt;Now perhaps you want to put back in the boundaries between different colours.&lt;br&gt;&lt;br&gt;For example:&lt;br&gt;&lt;br&gt;Data:= [[[[0,4],[1,3.2],[2,4]],[[1,3.2],[2,4],[2,2]]],&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [[[0,4],[1,3.2],[0,2]],[[0,2],[1,3.2],[2,2],[1,1.4]],[[0,2],[1,1.4],[0,0]]],&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [[[0,0],[1,1.4],[2,2],[2,0]]]];&lt;br&gt;Colours:= [red,green,yellow];&lt;br&gt;# original plot:&lt;br&gt;display(map(op,zip((d,c) -&amp;gt; map(polygonplot,d,colour=c), Data, Colours)),axes=none);&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=126422/422622/ucb1.jpg"&gt;&lt;img src="/view.aspx?sf=126422/422622/ucb1.jpg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;getedges:= L -&amp;gt; (seq({L[i],L[i+1]},i=1..nops(L)-1),{L[1],L[-1]});&lt;br&gt;Cedges:= [seq([seq](getedges(P),P=d),d=Data)];&lt;br&gt;outedges:= `union`(seq(convert(map(convert,select(t -&amp;gt; numboccur(t,C)=1, C),list),set),C=Cedges));&lt;br&gt;display(plot(outedges,colour=black),&lt;br&gt;&amp;nbsp;map(op,zip((d,c) -&amp;gt; map(polygonplot,d,colour=c), Data, Colours)),&lt;br&gt;style=patchnogrid,axes=none); &lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=126422/422622/ucb2.jpg"&gt;&lt;img src="/view.aspx?sf=126422/422622/ucb2.jpg" alt=""&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>126422</guid>
      <pubDate>Mon, 10 Oct 2011 10:16:00 Z</pubDate>
      <itunes:author>Robert Israel</itunes:author>
      <author>Robert Israel</author>
    </item>
    <item>
      <title>Solving the problem without patchnogrid option</title>
      <link>http://www.mapleprimes.com/questions/126382-United-Colors-Of-Benetton?ref=Feed:MaplePrimes:United Colors of Benetton:Comments#answer129464</link>
      <itunes:summary>&lt;p&gt;&lt;span class="hps"&gt;&lt;a href="/view.aspx?sf=129464/428339/DelBar.mw"&gt;DelBar.mw&lt;/a&gt; &lt;br&gt; &lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/70ed5018a8465ef38f7d7e6ae8a92e9a.gif" alt="NULL" width="11" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 166%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Code of the procedure&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/0ea293c283e045b162387a60c2bbecb4.gif" alt="restart:" width="576" height="690" align="middle"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/109e720fc5dc8263afa9800fe373896e.gif" alt="NULL" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 166%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Example 1&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/29b36384cae66148699fe9202fd2475d.gif" alt="DelBar([[pink, [[0, 0], [1, 1], [2, 1], [3, 0]]], [green, [[0, 0], [0, 1], [1, 3], [1, 1]]], [red, [[1, 3], [3, 2], [1, 2]]], [red, [[2, 2], [3, 2], [3, 0], [2, 1]]], [blue, [[1, 1], [1, 2], [2, 2], [2, 1]]]]);" width="576" height="40" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=129464/428339/96ad11633a78c5b82ba43fdc39e526b6.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/6db17a14773fd5b5cf0194a1666c063d.gif" alt="NULL" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 166%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Example 2&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/8a83116312b2c15173d2f57ded672d62.gif" alt="DelBar([[red, [[0, 0], [0, 4], [1, 4], [1, 0]]], [red, [[1, 3], [1, 4], [4, 4], [4, 0], [1, 0], [1, 1], [3, 1], [3, 3]]], [green, [[1, 1], [1, 3], [3, 3], [3, 1]]]]);" width="576" height="40" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=129464/428339/a87ebc2647f3d6e9e00db26e67d591fd.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/c4d02782c657bfbb13125f139e27be11.gif" alt="NULL" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/9d2df5f22bbfdb1cb1bf4866d5a23c88.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 166%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Example 3&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/b941c30b9a90348f955b188f9cbd6b6e.gif" alt="DelBar([[red, [[0, 0], [0, 2], [2, 2], [2, 1], [3, 1], [3, 2], [4, 2], [4, 0]]], [green, [[0, 2], [0, 6], [3, 6], [3, 4], [2, 4], [2, 5], [1, 5], [1, 3], [2, 3], [2, 2]]], [blue, [[1, 3], [1, 5], [2, 5], [2, 3]]], [red, [[3, 2], [3, 6], [5, 6], [5, 2]]], [green, [[2, 1], [2, 4], [3, 4], [3, 1]]], [yellow, [[4, 0], [4, 2], [5, 2], [5, 0]]]]);" width="576" height="74" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=129464/428339/b6465db931398f990aa1b357c990e8be.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/348a6769232cd8c46c067e40d0fc2821.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&lt;span class="hps"&gt;&lt;br&gt; &lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=129464/428339/DelBar.mw"&gt;Download DelBar.mw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="http://s012.radikal.ru/i321/1201/5e/999fab7f65e5.jpg" alt="" width="340" height="640"&gt;&lt;/span&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;span class="hps"&gt;&lt;a href="/view.aspx?sf=129464/428339/DelBar.mw"&gt;DelBar.mw&lt;/a&gt; &lt;br&gt; &lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/70ed5018a8465ef38f7d7e6ae8a92e9a.gif" alt="NULL" width="11" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 166%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Code of the procedure&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/0ea293c283e045b162387a60c2bbecb4.gif" alt="restart:" width="576" height="690" align="middle"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/109e720fc5dc8263afa9800fe373896e.gif" alt="NULL" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 166%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Example 1&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/29b36384cae66148699fe9202fd2475d.gif" alt="DelBar([[pink, [[0, 0], [1, 1], [2, 1], [3, 0]]], [green, [[0, 0], [0, 1], [1, 3], [1, 1]]], [red, [[1, 3], [3, 2], [1, 2]]], [red, [[2, 2], [3, 2], [3, 0], [2, 1]]], [blue, [[1, 1], [1, 2], [2, 2], [2, 1]]]]);" width="576" height="40" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=129464/428339/96ad11633a78c5b82ba43fdc39e526b6.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/6db17a14773fd5b5cf0194a1666c063d.gif" alt="NULL" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 166%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Example 2&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/8a83116312b2c15173d2f57ded672d62.gif" alt="DelBar([[red, [[0, 0], [0, 4], [1, 4], [1, 0]]], [red, [[1, 3], [1, 4], [4, 4], [4, 0], [1, 0], [1, 1], [3, 1], [3, 3]]], [green, [[1, 1], [1, 3], [3, 3], [3, 1]]]]);" width="576" height="40" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=129464/428339/a87ebc2647f3d6e9e00db26e67d591fd.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/c4d02782c657bfbb13125f139e27be11.gif" alt="NULL" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/9d2df5f22bbfdb1cb1bf4866d5a23c88.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 166%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Example 3&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/b941c30b9a90348f955b188f9cbd6b6e.gif" alt="DelBar([[red, [[0, 0], [0, 2], [2, 2], [2, 1], [3, 1], [3, 2], [4, 2], [4, 0]]], [green, [[0, 2], [0, 6], [3, 6], [3, 4], [2, 4], [2, 5], [1, 5], [1, 3], [2, 3], [2, 2]]], [blue, [[1, 3], [1, 5], [2, 5], [2, 3]]], [red, [[3, 2], [3, 6], [5, 6], [5, 2]]], [green, [[2, 1], [2, 4], [3, 4], [3, 1]]], [yellow, [[4, 0], [4, 2], [5, 2], [5, 0]]]]);" width="576" height="74" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=129464/428339/b6465db931398f990aa1b357c990e8be.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img src="/view.aspx?sf=129464/428339/348a6769232cd8c46c067e40d0fc2821.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&lt;span class="hps"&gt;&lt;br&gt; &lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=129464/428339/DelBar.mw"&gt;Download DelBar.mw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="http://s012.radikal.ru/i321/1201/5e/999fab7f65e5.jpg" alt="" width="340" height="640"&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <guid>129464</guid>
      <pubDate>Mon, 09 Jan 2012 12:57:51 Z</pubDate>
      <itunes:author>Kitonum</itunes:author>
      <author>Kitonum</author>
    </item>
    <item>
      <title>The Code for Mr. Markiyan Hirnyk</title>
      <link>http://www.mapleprimes.com/questions/126382-United-Colors-Of-Benetton?ref=Feed:MaplePrimes:United Colors of Benetton:Comments#answer129543</link>
      <itunes:summary>
&lt;p&gt;&lt;a href="/view.aspx?sf=129543/428498/DelBar2.mw"&gt;DelBar2.mw&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here is the code, where only one joint edge of&amp;nbsp; adjacent polygons of the same color is deleted!&lt;/p&gt;</itunes:summary>
      <description>
&lt;p&gt;&lt;a href="/view.aspx?sf=129543/428498/DelBar2.mw"&gt;DelBar2.mw&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here is the code, where only one joint edge of&amp;nbsp; adjacent polygons of the same color is deleted!&lt;/p&gt;</description>
      <guid>129543</guid>
      <pubDate>Wed, 11 Jan 2012 12:22:17 Z</pubDate>
      <itunes:author>Kitonum</itunes:author>
      <author>Kitonum</author>
    </item>
    <item>
      <title>Something to adjust</title>
      <link>http://www.mapleprimes.com/questions/126382-United-Colors-Of-Benetton?ref=Feed:MaplePrimes:United Colors of Benetton:Comments#comment126438</link>
      <itunes:summary>&lt;p&gt;I am grateful to you for your answer to my question. Your code is really&amp;nbsp; good.&lt;br&gt;However, you do not take into account the case when numboccur(t, C) &amp;gt; 1. If two polygons of the same color have several joint edges, then&amp;nbsp; one of these should be deleted. That&amp;nbsp;is a difficulty. This place is to adjust.&lt;br&gt;Take a look at &lt;br&gt;Data := [[[[0, 0], [0, 4], [1, 4], [1, 0]], [[1, 3], [1, 4], [4, 4], [4, 0], [1, 0], [1, 1], [3, 1], [3, 3]]],&lt;br&gt;&amp;nbsp;[[[1, 1], [1, 3], [3, 3], [3, 1]]]]; &lt;br&gt;Colours := [red, green];&lt;br&gt;display(map(op, zip( (d, c) -&amp;gt; map(polygonplot, d, colour = c) , Data, Colours)), axes = none)#before uniting&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=126438/422647/before.jpg"&gt;&lt;img src="/view.aspx?sf=126438/422647/before.jpg" alt=""&gt;&lt;/a&gt;&lt;br&gt;getedges := proc (L) options operator, arrow; seq({L[i], L[i+1]}, i = 1 .. nops(L)-1), {L[-1], L[1]} end proc;&lt;br&gt;&amp;nbsp;Cedges := [seq(([seq])(getedges(P), P = d), d = Data)];&lt;br&gt;&amp;nbsp;outedges := `union`(seq(convert(map(convert, select((t) -&amp;gt; numboccur(t, C) = 1, C), list), set), C = Cedges));&lt;br&gt;&amp;nbsp;display(plot(outedges, colour = black), map(op, zip( (d, c) -&amp;gt; map(polygonplot, d, colour = c), Data, Colours)),&lt;br&gt;&amp;nbsp;style = patchnogrid, axes = none)#the same after uniting&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=126438/422647/after.jpg"&gt;&lt;img src="/view.aspx?sf=126438/422647/after.jpg" alt=""&gt;&lt;/a&gt;&lt;br&gt;The style=patchnogrid option does not help here.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I am grateful to you for your answer to my question. Your code is really&amp;nbsp; good.&lt;br&gt;However, you do not take into account the case when numboccur(t, C) &amp;gt; 1. If two polygons of the same color have several joint edges, then&amp;nbsp; one of these should be deleted. That&amp;nbsp;is a difficulty. This place is to adjust.&lt;br&gt;Take a look at &lt;br&gt;Data := [[[[0, 0], [0, 4], [1, 4], [1, 0]], [[1, 3], [1, 4], [4, 4], [4, 0], [1, 0], [1, 1], [3, 1], [3, 3]]],&lt;br&gt;&amp;nbsp;[[[1, 1], [1, 3], [3, 3], [3, 1]]]]; &lt;br&gt;Colours := [red, green];&lt;br&gt;display(map(op, zip( (d, c) -&amp;gt; map(polygonplot, d, colour = c) , Data, Colours)), axes = none)#before uniting&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=126438/422647/before.jpg"&gt;&lt;img src="/view.aspx?sf=126438/422647/before.jpg" alt=""&gt;&lt;/a&gt;&lt;br&gt;getedges := proc (L) options operator, arrow; seq({L[i], L[i+1]}, i = 1 .. nops(L)-1), {L[-1], L[1]} end proc;&lt;br&gt;&amp;nbsp;Cedges := [seq(([seq])(getedges(P), P = d), d = Data)];&lt;br&gt;&amp;nbsp;outedges := `union`(seq(convert(map(convert, select((t) -&amp;gt; numboccur(t, C) = 1, C), list), set), C = Cedges));&lt;br&gt;&amp;nbsp;display(plot(outedges, colour = black), map(op, zip( (d, c) -&amp;gt; map(polygonplot, d, colour = c), Data, Colours)),&lt;br&gt;&amp;nbsp;style = patchnogrid, axes = none)#the same after uniting&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=126438/422647/after.jpg"&gt;&lt;img src="/view.aspx?sf=126438/422647/after.jpg" alt=""&gt;&lt;/a&gt;&lt;br&gt;The style=patchnogrid option does not help here.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>126438</guid>
      <pubDate>Mon, 10 Oct 2011 20:58:57 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>Incomplete answer</title>
      <link>http://www.mapleprimes.com/questions/126382-United-Colors-Of-Benetton?ref=Feed:MaplePrimes:United Colors of Benetton:Comments#comment129477</link>
      <itunes:summary>&lt;p&gt;The code, where only one joint edge of&amp;nbsp; adjacent polygons of the same color is deleted, should be presented to complete your good answer. &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;The code, where only one joint edge of&amp;nbsp; adjacent polygons of the same color is deleted, should be presented to complete your good answer. &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description>
      <guid>129477</guid>
      <pubDate>Mon, 09 Jan 2012 21:12:12 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>This is not that</title>
      <link>http://www.mapleprimes.com/questions/126382-United-Colors-Of-Benetton?ref=Feed:MaplePrimes:United Colors of Benetton:Comments#comment129551</link>
      <itunes:summary>&lt;p&gt;Thank you. Unfortunately, this is not the required result. Firstly, polygons as in the polygon command should be produced. It is not difficult to draw those. Secondly, in your example 4 the final result should consist of a red octagon with two coincident edges and a&amp;nbsp; blue pentagon with two coincident edges.&lt;br&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thank you. Unfortunately, this is not the required result. Firstly, polygons as in the polygon command should be produced. It is not difficult to draw those. Secondly, in your example 4 the final result should consist of a red octagon with two coincident edges and a&amp;nbsp; blue pentagon with two coincident edges.&lt;br&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>129551</guid>
      <pubDate>Wed, 11 Jan 2012 23:43:47 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
  </channel>
</rss>