Skip to content

Add plot -Ar|t to draw lines following theta or r direction in polar projections #5260

Closed

Description

@seisman

Description of the desired feature

Originally posted in the forum.

For polar projections, there is no simple way to draw lines along the theta or r direction. It would be good to add -Ar|t to draw lines (1) -Ar: following the r direction then theta direction; (2) -At: following the theta direction then r direction.

A minimal example:

gmt begin map
gmt basemap -R0/60/0/10 -JP10c -Baf
gmt plot -W2p,red -At << EOF
0  5
60 5
EOF
gmt end show

Expected output:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions