Skip to content

Need better example for drawing legends outside of the grid #802

@dkegel-fastly

Description

@dkegel-fastly

#133 pointed to the heatmap example, but the legend offset code is inscrutable to a newbie like me.
I suspect that example is only useful if you actually understand gonum/plot already.

A clear example showing a simple scatterplot with one point and one label, and then the same example with the legend outside the box, would be quite helpful.

I even tried Google Gemini, but it confidently provided an example that did not work.

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