geom_density_2d

geom_density_2d is not a function in MATLAB. It appears that you may be referring to a function in another programming language or software package. If you can provide more information about the context or the specific software you are using, I can try to provide more assistance.