cleanup data altering in plotting

see here

ff3fb152 (comment 186479)

unfortunally this wassnt a MR, just a single commit..

Edited by Bert Palm