Added y-array and an example plot