Golang Access Last Element Of Array Matlab Plot Function Of 2