Added basic_plot function.