add pha versions of plotting functions