update plotting script for pions