Refined plotting interface and options and improved code for getting and setting parameters