MW plot

Added Max’s code