You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need better example for drawing legends outside of the grid #802
#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.
Activity
kortschak commentedon May 26, 2025
Maybe start with https://pkg.go.dev/gonum.org/v1/plot/plotter#example-Scatter-Color.
Take this and explore what changes to the code do to the plot.
This is entirely unsurprising; Xuanzang's journey would have been far less important if he had not travelled on foot.