Next: , Previous: , Up: Top   [Contents][Index]


2 Introduction by example

The sketch input language will seem familiar to users of the PSTricks package for LaTeX. The following program draws a triangular polygon pierced by a line.

  polygon(0,0,1)(1,0,0)(0,1,0)
  line(-1,-1,-1)(2,2,2)

The coordinate system is a standard right-handed Cartesian one.

ex010