Implemented scripts for all 4 requested plots.