Skip to content

Themes for default settings #2290

@PaulWessel

Description

@PaulWessel

Description of the desired feature

We discussed this in the past but took no actions. I think lumping a group of GMT defaults together and give them a name (a theme) can be helpful to users. For instance, the current defaults would be called "classic" while we could add a set of new ones with other names. For instance, our map frame defaults is due for an upgrade, such as adding "auto" to the MAP_FRAME_WIDTH settings so that it scales with the map size (when users plot a 5x5 cn figure for Nature it looks bad for GMT that the frame is still 5p regardless of the small map. Other things may be to have a them for inside ticks and annotations, maybe change up some annotation fonts, and maybe have a theme suitable for white on black for presentations.

Implementation would simply be via a new parameter called GMT_THEME and when that setting is given via gmt set we (a) reset to system defaults and (b) apply the collection of settings grouped under that theme.

It is unfortunate that we did not create the "modern" theme but I still think we should and make it default in modern mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions