plotting using data from a cell array
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear Friends,
i want to automatically draw a graph of marks of students vs their names. students names are in a cell array where as marks are in a vector array. is it possible to draw a graph straight away. Thanks in advance.
0 Commenti
Risposte (1)
Yona
il 22 Set 2014
figure
name = {'m1';'m2';'m3';'m4';'m5'};
y = [90,85,88,100,40];
bar(y)
set(gca,'xlabel',name)
2 Commenti
Vedere anche
Categorie
Scopri di più su Line Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!