Stacked bar plot not working correctly
10 views (last 30 days)
I am trying to plot the stacked bar plot with negative values from the documentation page:
x = [1980 1990 2000];
y = [15 20 -5; 10 -17 21; -10 5 15];
In the documentation page they display this plot:
When I type the same code i get this one:
I am using Matlab R2018b. Is this a bug in the release version or is it just me?