Pseudosections are diagrams representing the stability field of mineral assemblages for a given whole-rock composition, and usually with respect to pressure and temperature. Such P-T pseudosections give valuable informations on the stability field of given phases, their modal abundance, or their composition. The P-T pseudosections can be calculated using various programs, among which there is the Thermocalc program (Powell et al., 1998).

TCWizard is a free Matlab® package that provides a graphical interface for the calculation of P-T pseudosections and the handling of data obtained using the Thermocalc program. The main features of TCWizard package involve:

• Quick calculation of single modal or compositional isopleths
• Quick data storage (without interaction with the Thermocalc result text files)
• Simple data management (deleting lines and points, defining begin/end points for lines)
• Display of calculated P-T data
• Interaction with calculated data
• Basic detection of modal or compositional isopleth location
• Calculation of several modal or compositional isopleths at one time
• Automatic definition of begin/end points for lines
• Calculation using Gibbs energy minimization
• Possibility to change starting guess for calculation
• Creation of an output file formatted for drawpd program



The TCWizard package contains:

• TCWizard folder with Matlab® files and icons used for the interface
• tc-example folder for tutorial
• TCWizard Help file

You can extract and save the TCWizard package anywhere on your computer or external hard drive. Note that it does not have to be in the same folder as the Thermocalc project.
MATLAB® VERSION: TCWizard works under Matlab 7.1 (R14) and later versions.

Download TCWizard help file only (1 .pdf file - 1.4 MB)

Download TCWizard package v1.0 for PC (program, tutorial and help file - 1 .zip file - 2.8 MB)
(Last updated: 26/11/2018  ♣ See change log ♣)

TCWizard is also available on GitHub


TCWizard is Copyright (C) 2013 by Benoît Petri and Etienne Skrzypek

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see


Powell R., Holland T. & Worley B., 1998. Calculating phase diagrams involving solid solutions via non-linear equations, with examples using THERMOCALC. Journal of Metamorphic Geology, 16, 577–588.