I just checked the powerlanguage help on the web site and it looks like there is no way to do it. So I guess that all is left is to have one plot for each plot type you want and use some sort of input or flag to direct the code to determine which one you actually execute out of the 2 or 3 plots you have available for execution. So the plot type is determined in the parameters for the study and maybe you can just not plot the one you do not want at the current time. I suspect your parameters will hold the settings. Worth a try.