Show Statistics in a Special Figure

1 view (last 30 days)
Hi,
How to implement/produce a figure like this? I need the code.
Thanks in advance!
  5 Comments
John D'Errico
John D'Errico on 9 Jul 2022
If you need a piece of code to start, then start writing. We are not a service where we write code on demand. I gave you pretty clear directions, telling you exactly what tools to use.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 10 Jul 2022
Once you invest 2 hours here:
you'll EASILY be able to write very simple code such as these few lines:
t = 2018 : 2025;
data = [23.14, 26.66, 30.73, 35.82, 42.62, 51.11, 62.12, 75.44];
bar(t, data);
hold on;
plot(t, data, 'b.-', 'LineWidth', 2, 'MarkerSize', 20)
grid on
xlabel('Year', 'FontSize', 16);
title('Global IoT Devices', 'FontSize', 16);
  3 Comments

Sign in to comment.

More Answers (1)

the cyclist
the cyclist on 9 Jul 2022
One approach would be find a plot (or plots) in the MATLAB Plot Gallery that look similar to what you want, download that code, and modify the code to get what you want.

Community Treasure Hunt

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

Start Hunting!