[pstricks] \psplot ans \parametricplot

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Jan 19 15:50:13 CET 2009

Hello all,

the new version of pstricks-add defines a new optional
argument for \psplot and \parametricplot.

\psplot[settings]{x0}{x1}[PS args]{ y(x) }
\parametricplot[settings]{t0}{t1}[PS args]{ x(t) y(t) }

PS args is passed directly to PostScript which makes
the use of \pstVerb superfluous, e.g.


\psset{xAxisLabel=t, yAxisLabel=U}
  [ /yMax 1 def /T0 1 def /T1 T0 def ]% <=== this is new !!!!
  { x T1 gt {
      T1 yMax \tx at ScreenCoor
      2 copy 4 2 roll L neg L
      /yMax yMax neg def /T1 T1 T0 add def } if yMax }



More information about the PSTricks mailing list