MATLAB-based code for graphs.