plot(cm): better handling of 'which' argument