Fixed plot4. Moved mfrow after device declaration.