In order to obtain a slope color in a different direction, you can specify the key-value slopeangle=<angle>, where <angle> is given in degrees.<div>  left-to-right -> slopeangle=0 (default)</div><div>  right-to-left -> slopeangle=180</div>

<div>  top-to-bottom -> slopeangle=-90</div><div>  bottom-to-top -> slopeangle=90</div><div><br></div><div>So, in your example, for a left-to-right gradient fill, use</div><div>  \pscustom[fillstyle=slope,<u></u>linestyle=none,fading,<u></u>slopebegin=white,slopeend=red,slopeangle=180]<u></u>{...}</div>

<div><br></div><div>Hope this helps,</div><div>Werner<br><br><div class="gmail_quote">On Sun, Nov 13, 2011 at 08:52, Cyrille Piatecki <span dir="ltr"><<a href="mailto:cyrille.piatecki@univ-orleans.fr">cyrille.piatecki@univ-orleans.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">In pst-slpe we can find a large variety of method for coloring an area. But slope color from the left to the right. It will be usefull to have one for coloring from the right to the left, one from the bottom to the top and one from the top to the botom.<br>


<br>
I need the two last for this pictures<br>
<br>
\begin{center}<br>
\begin{pspicture}(0,0)(14,5)<br>
\psgrid<br>
\psline{<->}(4,4.5)(4,.5)(10.<u></u>2,.5)<br>
%\psline[linestyle=dashed](4,<u></u>2.5)(7,2.5)(7,.5)<br>
\rput(10,4){$O_n$}<br>
\rput(10,1){$D_n$}<br>
\rput(10.4,.5){$q$}<br>
\rput(7,.15){$q^\star$}<br>
\rput(3.8,4.5){$p$}<br>
\rput(3.8,1.4){$p_t$}<br>
\psline[linestyle=dashed](4,1.<u></u>4)(4.9,1.4)<br>
\rput(3.8,2.5){$p^\star$}<br>
\rput(7,.15){$q^\star$}<br>
\psset{origin={4,.5}}<br>
\psplot[algebraic,linecolor=<u></u>blue,linewidth=1.4pt]{0}{6}{-.<u></u>41 * x - 0.03*x^2 + 3.5}<br>
\psplot[algebraic,linecolor=<u></u>red,linewidth=1.4pt]{0}{6}{.4 * x + 0.035*x^2 + .5}<br>
\pscircle[fillstyle=solid,<u></u>fillcolor=green,linestyle=<u></u>none](3,2.){3pt}<br>
\pscustom[fillstyle=slope,<u></u>linestyle=none,fading,<u></u>slopebegin=white,slopeend=red]<u></u>{<br>
\psplot[algebraic]{1.1}{2}{.4 * x + 0.035*x^2 + .5}<br>
\psplot[algebraic]{3}{4.7}{-.<u></u>41 * x - 0.03*x^2 + 3.5}<br>
\lineto(0.8,0.9)}<br>
<br>
\psplot[algebraic,linecolor=<u></u>blue,linewidth=1.4pt]{0}{6}{-.<u></u>41 * x - 0.03*x^2 + 3.5}<br>
\psplot[algebraic,linecolor=<u></u>red,linewidth=1.4pt]{0}{6}{.4 * x + 0.035*x^2 + .5}<br>
\pscircle[fillstyle=solid,<u></u>fillcolor=green,linestyle=<u></u>none](3,2.){3pt}<br>
\end{pspicture}<br>
\end{center}<br>
<br>
(For herbert Voss, I have not taken time to thanks for ma last question and the deawing of a fonction with the intersection of a plane and the projection of the function because I use the very nice Bakoma and on my computer your code is not shown)<br>


<br>
Thanks<br>
______________________________<u></u>_________________<br>
PSTricks mailing list<br>
<a href="mailto:PSTricks@tug.org" target="_blank">PSTricks@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/<u></u>listinfo/pstricks</a><br>
archive: <a href="http://www.tug.org/pipermail/pstricks/" target="_blank">http://www.tug.org/pipermail/<u></u>pstricks/</a><br>
</blockquote></div><br></div>