new function to plotplus