Support for resizing of plots.

The plots can now be resized.