Test code for opengl graphing.