Added code and diagram for other plots