real time 2d plot

Hi all,
I need to plot a set of points obtained in real time, i.e. just a simple xy graph. How can I obtain this result? Does exist any library which do it for me?

I know about glBegin(GL_POINTS);/glVertex2f(ax, ay);/etc…/glEnd();
Does exist something more sophisticated?

There are Display Lists, Vertex Arrays, VBOs.
If a curve can be approximated with a polynom you also can use glMap1f. Maybe there are even more techniques :slight_smile: