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.

 Risposta accettata

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

1 Commento

z cy
z cy il 10 Giu 2021
Thanks!!!
I find this function pcolor also can achieve similar figure.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 10 Giu 2021

Commentato:

il 10 Giu 2021

Community Treasure Hunt

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

Start Hunting!

Translated by