added plot example, fixed field names

added plot example, fixed field names