[pstricks] series and multido

Denis Vergès Denis.Verges at wanadoo.fr
Wed Aug 6 21:43:41 CEST 2008


Hello
%%%%%%%%%%%%%%%%%%%%%%%%%%
\pscustom[linewidth=1.2pt,arrowscale=1.5]
{
    \code{/x 1 def
          /y  x 1 add ln  x 2 exp 2 div add def
              }
       \multido{\i=1+1}{4}
       {
           \moveto(!x y)
           \psline{->}(!x x)(!x y) \closepath
           \psline{->}(!x y)(!y y) \closepath
%% Here I want draw (with style dashed) vertical \psline from x-axis  
till $y = x$
           \code{/x y def
                 /y x 1 add ln  x 2 exp 2 div add def
                     }
       }
}

Thanks
Denis




More information about the PSTricks mailing list