Added plotpartstats function to automatically plot simple stats for part.