scripts to plot similarities