overwritten function plot in own function transfer

Compatability with windows