Enhanced PlotFigure: added plot function etc.