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

2 Kommentare

Walter Roberson
Walter Roberson am 25 Jun. 2022
hint: categorical() and bar3()
Tekilu
Tekilu am 25 Jun. 2022
Thank you family!

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Voss
Voss am 25 Jun. 2022
Bearbeitet: Voss am 25 Jun. 2022

1 Stimme

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 Kommentare

Tekilu
Tekilu am 25 Jun. 2022
Thank you family!
Voss
Voss am 25 Jun. 2022
You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

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

Gefragt:

am 25 Jun. 2022

Kommentiert:

am 25 Jun. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by