Latest update for plot3.R