Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I know that the PSTricks packages for plotting, pst-plot and pst-3dplot, use PostScript operators and Reverse Polish Notation. Is there a comprehensive list of all the operators available, with a guide on such notation?

share|improve this question
tug.org/PSTricks/main.cgi?file=PS/refs there you'll find two small references –  Herbert Apr 7 '11 at 15:53
add comment

2 Answers

up vote 11 down vote accepted

You can find them in a manual of PostScript language.

See PostScript Language Reference, third edition

And for convinience, The PostScript Language Tutorial and Cookbook and PostScript Language Program Design are easier to read. You can find them at Adobe PostScript SDK Archive

Maybe you have known that, PSTricks can also use infix expression to plot functions, with help of algebraic=true. For example:


enter image description here

Supported functions:

+ - * / ^
sin, cos, tan, acos, asin (in radians)
log, ln
ceiling, floor, truncate, round, sqrt, abs, fact (for the factorial)
Sum (for building sums)
IfTE (for an easy case structure)

See manual pst-news10 for details.

share|improve this answer
+1 The PS operators wont be listed by pstricks itself. –  Martin Scharrer Apr 7 '11 at 10:24
What do you mean with "wont be listed"? –  Herbert Apr 7 '11 at 14:45
add comment

The language reference is a bit heavyweight. This is the reference I use: Alphabetic list of PostScript commands. Comprehensive, yet browsable. In case that reference goes away, one can likely find a mirror searching for page titles containing Postscript Level 2.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.