add some more argument checks to autoplot function and check for parameter combinations