Initial commit of plot3.R and plot3.pmg