[Solved] Multiple line plots sharing abscissas axis in gonum/plot
Yes, it is possible. You can use plot.Align: package main import ( “math/rand” “os” “gonum.org/v1/plot” “gonum.org/v1/plot/plotter” “gonum.org/v1/plot/vg” “gonum.org/v1/plot/vg/draw” “gonum.org/v1/plot/vg/vgimg” ) func main() { rand.Seed(int64(0)) const rows, cols = 2, 1 plots := make([][]*plot.Plot, rows) for j := 0; j < rows; j++ { plots[j] = make([]*plot.Plot, cols) for i := 0; i < cols; i++ … Read more