Outline for plot3.R