Back: 3.1.1 plg Forward: 3.1.3 plm     FastBack: 3. Graphics Up: 3.1 Primitive plotting functions FastForward: 4. Embedding Compiled Routines Inside Yorick         Top: Yorick: An Interpreted Language Contents: Table of Contents     About: About This Document

3.1.2 pldj

The pldj command also connects points, but as disjoint line segments:

pldj, x0, y0, x1, y1

connects (x0(1),y0(1)) to (x1(1),y1(1)), then (x0(2),y0(2)) to (x1(2),y1(2)), and so on. Unlike plg, where y and x are one dimensional arrays, the four arguments to pldj may have any dimensionality, as long as all four are the same shape.