How to plot this figure?

2 views (last 30 days)
z cy
z cy on 10 Jun 2021
Commented: z cy on 10 Jun 2021
This figure is used to show the matrix 300*3. I do not know how to plot this figure? can someone help me? Thanks.

Accepted Answer

Mathieu NOE
Mathieu NOE on 10 Jun 2021
hu
try this and adapt to your own needs
a = rand(300,3);
figure,imagesc(a);colormap('jet');colorbar
  1 Comment
z cy
z cy on 10 Jun 2021
Thanks!!!
I find this function pcolor also can achieve similar figure.

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!