sample data plotting routine