2

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?

Example

4

1 回答 1

1

使用此处描述的视图命令设置视角以将 3D 绘图渲染为 2D

于 2013-11-22T19:53:02.900 回答