add plotting routines from classic cosmomc