added plotting functions to calc conversion