pygmt.Figure.sca

Figure.sca(ax=None, **kwargs)

Set the current Axes instance to ax.

Before you start plotting you must first select the active subplot. Note: If any projection option is passed with ? as scale or width when plotting subplots, then the dimensions of the map are automatically determined by the subplot size and your region. For Cartesian plots: If you want the scale to apply equally to both dimensions then you must specify projection="x" [The default projection="X" will fill the subplot by using unequal scales].

Aliases:

  • F = dimensions

Examples using pygmt.Figure.sca