added plotting script for polynomial data