Skip to content

Option to set MAP_LABEL_OFFSET to be relative to axis #5182

@evangowan

Description

@evangowan

Description of the desired feature

Right now, the MAP_LABEL_OFFSET option for placing the axis label text is set to be relative to the side of the annotations. For stacked plots (e.g. a stack of time series), this can lead to the problem of the labels not being aligned on all of the plots if the annotations are of difference sizes. Ideally, an option to set the MAP_LABEL_OFFSET to be relative to the axis rather than the annotation would make it easier to line things up.

To illustrate what I mean, I have attached this image. As you can see, the label “Sliding Mechanism” is much further to the left of the other labels.

labels

There is some further discussion on the GMT forum

As mentioned in the post, the workaround for now is to use gmt text -N.

Are you willing to help implement and maintain this feature? No

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