Cartesian linear

Xwidth/[height]: Give the width of the figure and the optional height.

cartesian linear
<IPython.core.display.Image object>

import pygmt

fig = pygmt.Figure()
    # The x and y parameters determine the coordinates of lines
    x=[3, 9, 2],
    y=[4, 9, 37],
    # The region parameter sets the x and y ranges of the
    # Cartesian projection
    region=[0, 10, 0, 50],
    # "WSne" is passed to the frame parameter to put annotations
    # only on the left and bottom axes
    frame=["af", "WSne"],

Total running time of the script: ( 0 minutes 0.866 seconds)

Gallery generated by Sphinx-Gallery