added support for plotting only cases