Matlab and Python coding for AFM raw data plotting.
Tested on Matlab R2017b and Python 3.6.4 versions
The raw data are force-spectroscopy .txt files from AFM experiments, preprocessed to fit the contact point. They contain four columns: cantilever height [nm], cantilever vertical deflection [nN], series time [s], segment time [s]. All the experiments were carried out with a Nanowizard 3 microscope from JPK. The built-in software provide .txt files in this form (comments are preceded by #).
Matlab code AFMplot.m - Python code AFMplot.py
These codes do the following:
- takes as input the .txt data,
- plot the force spectroscopy extend and retract curves,
- gives as output a .png image file for each .txt and save it in the output folder.