figure for similarity map in cookbook