I didn't use to have problems with this figure, but after enlarging the font size with 'export setup' parts on the left and right side are cut out (if I convert the MATLAB figure into PDF). If I convert the MATLAB figure into JPEG format, the whole figure is displayed.
I made a new MATLAB figure with the old font size, but the parts are still cut out.