MathGL library make wide spectrum of mathematical graphics (plots, surfaces, contours, isosurfaces and so on) in platform independent way. Graphics may be exported to EPS, PNG, JPEG or TIFF formats. Front-end for library is based on OpenGL and GLUT libraries. Also it is possible to draw plot in console regime directly to the file (bitmap or PostScript) without using X-server. Output graphics is adopted to use with wxWidgets and FLTK libraries.