From Minserv (Mineral Services):
WinRock is a petrology/geochemistry program for Windows. WinRock plots IUGS igneous classification diagrams, including QAPF diagrams, plus sandstone, general purpose XY, log, bar and ternary diagrams. Each diagram contains separate labeled fields corresponding to individual rock types with data and rock names listed in separate tables. There are optional tick marks, labels, titles, fonts and fields, plus a choice of symbols and colors. Data can be marked and labeled using the drawing tools. There is a built in spreadsheet with multiple document interface and clipboard support.