added support to basic plot.