How to plot this figure?

This figure is used to show the matrix 300*3. I do not know how to plot this figure? can someone help me? Thanks.

 采纳的回答

hu
try this and adapt to your own needs
a = rand(300,3);
figure,imagesc(a);colormap('jet');colorbar

1 个评论

Thanks!!!
I find this function pcolor also can achieve similar figure.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by