add a reverse option to plotd to invert theta and phi