plot_diagnose function

Plotting diagnostic checks