Added support to get plot data