Added embedded plot capability.