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

댓글 수: 2

Walter Roberson
Walter Roberson 2022년 6월 25일
hint: categorical() and bar3()
Tekilu
Tekilu 2022년 6월 25일
Thank you family!

댓글을 달려면 로그인하십시오.

 채택된 답변

Voss
Voss 2022년 6월 25일
편집: Voss 2022년 6월 25일

1 개 추천

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

Tekilu
Tekilu 2022년 6월 25일
Thank you family!
Voss
Voss 2022년 6월 25일
You're welcome!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2022년 6월 25일

댓글:

2022년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by