added a logic test to CPlotParameters.cp