The figure below showing capabilities of g2 library is generated by a sample program distributed with the library.