xy plots

Given a set of (x,y) coordinates, what is the simplest way to generate an XY plot of the data using openGL/glut? Thanks.

There is no “simplest” way you have to do it all youself…

  
glBegin( GL_POINTS);
glVertex2?( first a and y coordinate);
glVertex2?( second point);
... and so on ...
glEnd();