Creating three-dimensional scatter plots