Repository navigation
Closed
Description
This issue serves as the central place for discussing and tracking the implementation of the Figure.magnetic_rose method in PyGMT. The issue will be closed when the initial implementation is complete. Progress is tracked at PyGMT: Wrapping GMT modules.
Figure.directional_rose is a thin wrapper for the -Td option of the basemap module.
Documentation
- GMT: https://docs.generic-mapping-tools.org/dev/basemap.html
- GMT.jl: https://www.generic-mapping-tools.org/GMTjl_doc/documentation/modules/basemap
- PyGMT: https://www.pygmt.org/dev/api/generated/pygmt.Figure.magnetic_rose.html
GMT Option Flags and Modifiers
☑️: Implemented; ⬜: To be implemented/discussed; Strikethrough: Won't implement.
Below are the option flags and modifiers of the basemap module.
-
-R:region -
-J:projection -
-Jz/-JZ:zscale/zsize -
: Dumping polygons of bounding box. Make no sense here.-A -
-B:frame -
-F:boxAdd Figure.directional_rose to plot a directional rose on map #4025 -
: Add a map scale bar-L -
: Add a directional rose-Td -
-Tm: Add a magnatic rose-
[g|j|J|n|x]<refpoint>+j<justify>+o<dx>[/<dy>]:position -
+w<width>:width -
+d[<dec>[/<dlabel>]]:declination,declination_label -
+i<pen>:inner_pen -
+l<w,e,s,n>:labels -
+p<pen>:outer_pen -
+t<ints>:intervals
-
-
: Use-UFigure.timestampinstead. -
-V:verboseAdd Figure.directional_rose to plot a directional rose on map #4025 -
: Use-X/-YFigure.shift_origininstead. -
-c:panelAdd Figure.directional_rose to plot a directional rose on map #4025 -
: Makes no sense in-fFigure.scalebar -
-p:perspectiveAdd Figure.directional_rose to plot a directional rose on map #4025 -
-t:transparencyAdd Figure.directional_rose to plot a directional rose on map #4025 -
: Use--PAR=valuepygmt.configinstead.
Linked Pull Requests
- Initial feature implementation Add Figure.magnetic_rose to plot a magnetic rose on map #4051 @seisman
- Add a tutorial or gallery example Add gallery example for magnetic rose #4381 @yvonnefroehlich
- Deprecate
compassinFigure.coast/Figure.basemap
Related Issues and Discussions
Add links to related wrapper discussions, API design threads, or upstream GMT changes here.
Metadata
Metadata
Assignees
Labels
feature requestNew feature wanted
Type
Projects
- StatusShow more project fieldsOngoing maintenance
Activity