I have tried the rest but question 11 become difficult for me. Can you help me please!

2 commentaires

Walter Roberson
Walter Roberson le 25 Juin 2022
hint: categorical() and bar3()
Tekilu
Tekilu le 25 Juin 2022
Thank you family!

Connectez-vous pour commenter.

 Réponse acceptée

Voss
Voss le 25 Juin 2022
Modifié(e) : Voss le 25 Juin 2022
Here's something, with random data for 5 stations.
% replace this with your data, an 11x12 matrix:
data = 6*rand(5,12)+2.5
data = 5×12
3.0578 8.3163 8.4855 7.7920 3.1272 7.9973 7.1697 4.7294 5.3315 4.2942 3.1002 6.5341 5.1729 7.5910 5.0186 6.9756 2.6272 5.4279 8.1011 6.4527 4.8268 8.3244 2.5925 4.9417 2.7454 2.7571 3.1044 3.1509 3.4733 5.2987 2.8486 7.0261 3.7225 8.1902 8.2890 4.6708 7.4746 7.4009 6.8467 6.1027 7.1125 3.2912 7.0206 7.9211 8.1908 6.8093 5.9398 8.0103 4.5354 8.4101 5.9261 3.9352 2.7845 4.3262 8.4125 8.3051 4.1644 3.7899 2.9574 6.3359
% replace this with your stations:
stations = {'Berlin' 'Hamburg' 'Frankfurt' 'Munich' 'Stuttgart'};
% keep this the same (Ethiopia has the same months as Germany does):
months = 'JFMAMJJASOND';
% plot, labels, title, etc.
plot(data.')
xlim([1 12])
xticks(1:12)
xticklabels(num2cell(months))
legend(stations)
title('Mean Daily Solar Radiation');
ylabel('kWh/m^2/day')

2 commentaires

Tekilu
Tekilu le 25 Juin 2022
Thank you family!
Voss
Voss le 25 Juin 2022
You're welcome!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Question posée :

le 25 Juin 2022

Commenté :

le 25 Juin 2022

Community Treasure Hunt

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

Start Hunting!

Translated by