Plotting code for single-click protocols