plots images , corresponding R code and subset data is added