example for figure from Matlab added