# 20 Zap marks

A zapping symbol is a zig-zag symbol that indicates that a certain region of a plot is cut out due to space constraints. It's usually used in conjunction with non-linear/non-logarithmic coordinate system. See Section 6.1, for an sample of zap symbols.

`zap.zap_horizontally`( | canvas, style, fill_style, x1, y1, x2, y2, xsize, ysize)

  Draw a horizontal "zapping" symbol on the canvas that shows that a graph is ripped in the middle.

  Parameter fill_style specifies the style for the zig-zag lines. PAT specifies the pattern with which the area is filled. The symbol is drawn in the rectangle (x1, y1) - (x2, y2). Each "zigzag" has the width xsize, height ysize.

`zap.zap_vertically`( | canvas, style, fill_style, x1, y1, x2, y2, xsize, ysize)

  Draw a vertical "zapping" symbol on the canvas that shows that a graph is ripped in the middle.

  Parameter fill_style specifies the style for the zig-zag lines. PAT specifies the pattern with which the area is filled. The symbol is drawn in the rectangle (x1, y1) - (x2, y2). Each "zigzag" has the width xsize, height ysize.