[pstricks] skipping domain values in psplot

Hensh, Richard hensh at math.msu.edu
Fri Mar 19 14:47:11 CET 2010

Dear All,

The code fragment below works exactly as expected. The gamma function is plotted from 
x= -0.99 to x = 5 and the vertical asymptote at x=0 is ignored. Is there a way modify my postscript definition of f at x further to trick (no pun intended) psplot into ignoring multiple inputs. The appropriate list in this example would be {-5, -4, ..., 0} but, in general, such a list could be arbitrary.

    /f at x {dup 0 eq {} {GAMMA} ifelse} def
      {\dommin}{\xmax}{x f at x}

Or perhaps this has already been implemented in PSTricks?


More information about the PSTricks mailing list