Fix x-y ordering

Matrix:
0 --> x
|
v
y

Graph:
y
~
|
0--->x
Plot test data