<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Fellows: I´ve been working over this problem for a long time and so far I haven't got the desired results. I need to create a linear gradient (or at least simulate it) from left to right in a polygon. I don't want to use metafun and the problem is how to fake it in eps. I am in urgent need for a solution and I don´t have anyone to ask for help excepto for this list. Could anybody help me please?<div>This is code I have so far:</div><div><br></div><div><div>% A&M Logo</div><div>% Por Guillermo Andrade</div><div>% -------------------------------</div><div>% Preparacion</div><div>prologues:=3;</div><div>filenametemplate "%j-%3c.eps";</div><div>fontmapfile "pdftex_dl14.map";</div><div>input mp-tool;</div><div>input mp-spec ;</div><div><br></div><div>u=1cm;</div><div>% Variables</div><div>color c[];</div><div>% Funciones</div><div><br></div><div>% Dibujos</div><div>beginfig(1);</div><div> path eme; % this is the polygon I need filled with a simulated gradient from one color to another (horizontally).</div><div> eme = (-2.4u,6.2u)--(-4.5u,6.2u)--(-5.9u,0u)--(-4.15u,5.28u)--(-5.25u,0u)--(-3.8u,4.389u)--(-3.7u,4.134u)--(-4.6u,0u)--(-3.45u,3.485u)--(-3.30u,3.1u)--(-3.95u,0u)--(-3.15u,2.71u)--(-2.1u,0u)--(0,0)--(0.81u,2.97u)--(2.0u,0u)--(4.10u,0u)--(1.7u,6.2u)--(-0.49u,6.2u)--(-1.38u,3.58u)--cycle;</div><div>%%% Relleno</div><div> s := .1;</div><div> alt:= 6.2u;</div><div> lateral:= -6u;</div><div>for i=0 step s until 200:</div><div> fill eme shifted (-6u+i,0) withcmykcolor (i/100)[(1,0.60,.60,0),(1,1,1,1)];</div><div>endfor;</div></div><div><div>endfig;</div><div>end;</div><div><br></div><div>Thanks a lot for you help.!!! </div><div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 13px; "><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; font-style: italic; "><br class="Apple-interchange-newline">Los errores indetectables son infinitos en su variedad, en cambio los detectables por definición son limitados. Tercera Ley de fiabilidad de Gilb. </span></span></font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 13px; "><b><div>------------------------------</div><div>Jesús Guillermo Andrade (Abg.)</div></b>Gerente de Litigios y Corporativo. EDM. AC. API.<br>Andrade & Moreno S.C. (<a href="http://amlegal.wordpress.com/">http://amlegal.wordpress.com/</a>)</span></font></div></span></div></span></div></span></div></span> </div><br></div></div></body></html>