Skip to content

PlotText alignment doesn't respect rotation #362

@swharden

Description

@swharden

Without rotation the alignment argument works as expected

plt.PlotText("test", 0, 0, alignment: ScottPlot.TextAlignment.upperCenter);

With rotation it fails, and no alignment properly displays what I want

plt.PlotText("test", 0, 0, alignment: ScottPlot.TextAlignment.upperCenter, rotation: -90);

I want to support both these cases (black point is coordinate, red box is text)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions