added documentation for create.barplot and create.scatterplot functions