new figure function which plots 2D projections of a multi-dimensional sample