saving and plotting ge and gi