add extra parameter (keep_channels) to prepare2plot