Skip to content

mtext truncates plot region in classic theme #629

@bastistician

Description

@bastistician

In the classic theme, adding extra axis labels using mtext seems to truncate the plot region.

First mtext then abline:

plt(0, 0, theme = "classic")
mtext("foo", at=0.3, side=2, line=2, las=1)
abline(h = 0.3)  # does NOT reach the y-axis

First abline then mtext:

plt(0, 0, theme = "classic")
abline(h = 0.3)  # OK
mtext("foo", at=0.3, side=2, line=2, las=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions