Added a method to get plot by id.