changed scatter to curved rectangle plots, ismatrix() isn't backwards compatible -> ndims()==2