Is it possible to generate a 'barcode' chart?

I'm looking to generate something similar to what is seen here : https://www.cbc.ca/news/technology/charts-climate-change-bar-codes-1.4802293
I have a large amount of climate data that I would like to make similar 'barcode' graphics for, but I'm not really experienced with making fancy graphics. I've tried to find the best way to do this using matlab (if there is one), but so far I've come up with nothing.
Anyone with some more experience in graphics who could chime in with some tips would be very much apreciated.

 Réponse acceptée

jonas
jonas le 18 Sep 2018
Modifié(e) : jonas le 18 Sep 2018

0 votes

Check out this older Q
If you have a large set of data then do not use barh, it's extremely slow.
I'm always up for creating fancy graphs if you want to upload data :)

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by