When answering a question involving random numbers, it is a good idea to seed the random number generator with a specific value so it generates the same sequence of numbers. That way, anyone can reproduce the results. Look at the documentation for SeedRandom.
Remove the call to SeedRandom
to generate a different matrix every time matrix
is called.
I renamed the function to matrix
because all WL built-in symbols start with an uppercase letter, so it is safer to avoid using names starting with an uppercase letter to avoid potential redefinition of a built-in symbol.
The answer above does exactly what you want. With SeedRandom[1]
it generates the matrix
{{38, -97, 28, -33}, {-93, -86, -34, 12}, {37, 50, -20, -99}}
And the points plotted are
{{38, -93}, {-97, -86}, {28, -34}, {-33, 12}}
Regarding joining the points and labeling, I suggest you read the documentation for ListPlot
.