Plot3 code and figure