Skip to content
Matlab functions to plot 2D and 3D maps from nanoindentation tests.
Branch: master
Clone or download



This Matlab toolbox has been developed to plot and to analyze mechanical properties maps from (nano)indentation results .

To get started with the TriDiMap toolbox, clone the repository, then run Matlab, and cd into the folder containing this README file.

You can start the launcher by typing "demo" at the Matlab command prompt.


The TriDiMap toolbox has been developed to plot, to map and to analyze (nano)indentation dataset.

With this Matlab toolbox, it is possible:
  • to map (in 2D or 3D), to interpolate and to smooth indentation map;
  • to plot elastic modulus vs hardness values;
  • to plot and to fit probability density functions;
  • to plot and to fit cumulative density functions;
  • to extract statistical values (mean, min, max with standard deviations) of mechanical properties and fractions for each phase;
  • to correct mechanical map from image correlation with microstructural map;
  • to correlate/compare mechanical map with microstructural map;
  • to plot 4D mechanical property map.

Matlab version

Developed with Matlab R2014a.


Author:David Mercier [1]

[1] CRM Group, Avenue du Bois Saint-Jean 21, B27 – Quartier Polytech 4, 4000 Liège, Belgium

Reference papers


|matlab| toolbox; nanoindentation; mapping; grid; 2D; 3D; mechanical properties; probability density function; deconvolution; multimodal Gaussian fit; cumulative density function; image correlation.


  • Pierre Huyghes (ULB, Bruxelles) and Antoine Hilhorst (UCL, Louvain-La-Neuve) contributed to the Matlab code.
  • Franck Nozahic (OCAS, Zwijnaarde) contributed to the documentation.


The author is grateful to Dr. Jiri Nemecek from Czech Technical University, Czech Republic (Prague) and to Dr. Nicholas Randall from Anton Paar, for discussions and many advices about nanoindentation mapping.

The author is grateful to Jean-François Vanhumbeeck and Xavier Vanden Eynde (CRM Group, Belgium (Liège)), for fruitful discussion and co-authoring of reference papers.

The author is grateful to Debora Rosseel, Franck Nozahic and Mélanie Gauvin (OCAS, Belgium (Zwijnaarde)), for providing example files and lots le fruitful feedbacks.



3D mapping of sample hardness obtained from indentation tests.

You can’t perform that action at this time.