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],
    # ``region`` sets the x and y ranges or the Cartesian figure.
    region=[0, 10, 0, 50],
    # ``WSne`` is passed to ``frame`` to put axis labels only on the left and bottom axes.
    frame=["af", "WSne"],

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

Gallery generated by Sphinx-Gallery