pygmt.src.ClipAccessor

class pygmt.src.ClipAccessor(figure)[source]

Accessor for different clip methods.

Methods Summary

ClipAccessor.dcw(code, **kwargs)

Clip based on the Digital Chart of the World.

ClipAccessor.land(**kwargs)

Clip the land area (i.e., "dry" areas) and only plot data inside.

ClipAccessor.mask([data, x, y, spacing, ...])

Clip the data to a mask.

ClipAccessor.polygon([data, x, y, ...])

Clip polygonal paths.

ClipAccessor.solar(**kwargs)

Clip the data to the solar terminator.

ClipAccessor.water(**kwargs)

Clip the water areas (i.e., "wet" areas such as oceans and lakes) and only plot data inside.