Plotting commands for figure 6