I want to plot several multivariate gaussian densities in 2 dimensions (cf first plot here), and superimpose these plots in 3 dimensions.
The result should look like the one in the picture (taken from here)
I found the answer given to a similar topic interesting:
% 2D map using view
figure;
surf(Z,'EdgeColor','None');
view(2);
From a 3f plot, we can map a 2d one. However, when trying to superimpose several plots, I realized that the plot was still a 3d one and only the view is different (view(2))(you can rotate it if you want).
Can anyone give me an indication on how to proceed?