I would like to connect points on a cartesian coordinates system, like the image below:
x = 1:10;
y = rand(10);
plot(x, y)
In the image above these points are random and the x axis can only take the values from 1 to 10.
I want to create a similar plot where I can assign the position of specific points ( let us name these points: [x_i, y_i] ) and connect them. Here is an example of some values for [x_i, y_i]
[0,2], [4,-10], [5, 12], [12, 6]

