I am doing a C program that calculates the "closest pair" among the points given in an input file.
POINTS.TXT
Now my objective is to plot the points using GNUPlot and draw a line between the closest pair of points. I have succeed in drawing the points but am unable to draw line between two specific points.Code:2 3 8 9 10 7 4 5
Command I have used to plot the points:-
I need command to draw line between 2 points please.Code:plot "points.txt"