Split plot command as MATLAB can only plot one line per plot command. Potential bugfix in one plot: idealThreshold.*minthresh instead of idealThreshold*minthresh. Added option to change the graphics format.