plot displacement and similarity