plot integrated and tested.