Skip to content
Discussion options

You must be logged in to vote

Thanks to the people in #go-nuts I found a solution: Just add the LineXY elements to a slice and pass the slice to Plots().
Example:

var lines []giu.PlotWidget
lines := append(lines, giu.LineXY(name, x, y))
giu.Plot().Plots(lines...)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tg--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant