plots cummlative no. plot