added initial code for the field map plot