merge gate and stats to one plot and hide one of input panel based on the selection of plotType. #1