g2 is an easy to use, portable and powerful 2D graphics library. G2 is an easy to use, portable and powerful 2D graphics library. The project provides a comprehensive set of functions for simultaneous generation of graphical output on different types of devices.Following devices are currently supported: PostScript, X11, PNG and JPEG (using GD) and Win32 (xfig is in development) . G2 is written in C (ANSI) and also a Fortran, perl and python interface.g2 is easy to usein g2_open_X11 C d = (50,50); g2_line (d, 5,5,45,45); g2_Circle (d, 25,25,20); Fortran g2_open_X11 d = (50.0,50.0) g2_line call (d 5.0,5.0,45.0,45.0) g2_circle call (d 25.0,25.0,20.0) in perl $ d = X11G2 new:: device (50,50); $ d-line> (5,5,45,45); $ d-> Circle (25,25,20); in Figure python g2.g2_open_X11 = (50, 50) chart. g2_line (5, 5, 45, 45) graph.g2_circle (25, 25, 20) What's new in this version: • The Python module build process has been corrected.