plot_longest_diagonal function

Plot the longest diagonal of a field