Click for original version
The version displayed below was modified with permission of Andrew.
Download this .zip and run main.m to see MATLAB create all those charts with simple data.
Many of these visualizations had dedicated functions to do that exact plot, some required some data massaging (like the “100% stacked bar plots” that normalized each stacked bar series to have the same sum) and some required the addition of some lines (like the connected bar charts).
This was a fun exercise in reproducing all these plots in MATLAB. Do you have some favorite plots that are not shown here? Do you want to make some dedicated functions to create those various bar charts that needed the most fiddling with?
要发表评论，请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。