MATLAB: X,y coordinates in .txt to points on image

imageImage Processing ToolboxMATLAB

Hi there,
I need some help with loading coordinates in a .txt to points in an image. In the attached .txt are all the coordinates. What is the best approache to do this?
thanks,

Best Answer

  1. Read in the file using A = readmatrix(filename)
  2. Plot the values using the plot command where x is the first column of A and y is the second column of A. Use indexing A(:,i)