Skip to content

Add examples for plotting lines  #493

Closed
@seisman

Description

@seisman

Description of the desired feature

There are already have nice tutorials for plotting data points of various sizes and colors, but no examples for plotting lines.

It would be good to add some examples showing

  • how to plot lines
  • how to specify line attributes (pen thickness, color, and pen style)
  • plot lines with various colors as determined by a CPT file

Unfortunately, PyGMT currently can't handle multi-segments data as in GMT. To plot multiple lines, we still have to call fig.plot() multiple times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedHelping hands are appreciatedscipy-sprintThings to work on during the SciPy sprint!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions