script for plotting far fields