How to plot this figure?

1 Ansicht (letzte 30 Tage)
z cy
z cy am 10 Jun. 2021
Kommentiert: z cy am 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by