how to get plot with the points increasing with changing color (as points increase their color change from grey to black)

1 vue (au cours des 30 derniers jours)
Hello everyone!
Please i need your help. I wanted to have a figure with the values changing color say from grey to black as the values or points in Bs increases.
I tried with below code but it did not workout, it have many colors which is had to analyze.
pleasse help..
thanks
e=0.25;
sigma=[0.1 0.3 0.5 0.7 0.9];
Bs=[Bp01 Bp03 Bp05 Bp07 Bp1];
plot(sigma,Bs,'-s','linewidth',2.5)
set(gca, 'YScale', 'log')

Réponses (1)

KSSV
KSSV le 1 Mar 2021
X = repmat((1:5)',1,5) ;
Y = rand(5,5) ;
plot(X,Y,'.-')

Community Treasure Hunt

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

Start Hunting!

Translated by