title: Plotting Library for OpenGL
body: <p>I need to draw a scientific graph (for example, a line or bar graph) and then render it in my application, which uses OpenGL for all display-related purposes. </p>
  
  <p>What is the best way to do this?</p>
  
  <p>Does anyone know of a plotting library for OpenGL?</p>
  
  <p>I haven't been able to find one, and the best thing I've come up with so far is to use LibGD or PlPlot to render my image, save to PNG, and then load that same PNG as a texture for an OpenGL quad. Does anyone have any suggestions for a better way to to this, or know a library which could help with my task?</p>