How to draw the following data?

Hello. I am new to OpenGL. I have gone through the basic triangle and rectangle draw tutorial. Now, I am working on a small project where I can draw three points in form of an image (for example, sonar image like). The data I got from the sensor is in the form of <data, x, y>.

A set of data for your reference:

46,30,30
36,30,31
38,30,32
36,30,33
37,30,34
36,30,35

<data, x, y>
the data part is the distance of the object from the sensor. what is the best approach of drawing only the data part, with or without the x and y points?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.