myplot: fix pdf conversion, use pint for units