Shows the standings in the MLB National League Central in terms of games back.
color1632 = [0, 51, 102]/255;
color1633 = [198, 1, 31]/255;
color1634 = [152, 50, 33]/255;
color1635 = [146, 117, 76]/255;
color1636 = [255, 191, 0]/255;
color1637 = [196, 30, 58]/255;
commonstyle = struct( 'Marker', 'none', 'MarkerSize', 4, 'MarkerEdgeColor', 'w' );
line( time1632, data1632, 'Color', color1632, 'MarkerFaceColor', color1632, commonstyle );
line( time1633, data1633, 'Color', color1633, 'MarkerFaceColor', color1633, commonstyle );
line( time1634, data1634, 'Color', color1634, 'MarkerFaceColor', color1634, commonstyle );
line( time1635, data1635, 'Color', color1635, 'MarkerFaceColor', color1635, commonstyle );
line( time1636, data1636, 'Color', color1636, 'MarkerFaceColor', color1636, commonstyle );
line( time1637, data1637, 'Color', color1637, 'MarkerFaceColor', color1637, commonstyle );
set(gca, 'YDir', 'reverse');
ylabel( 'Games Back' );
ylm = get(gca, 'YLim');
set(gca, 'YLim', [-0.5 ylm(2)+0.5]);
set(gca, 'YTick', 0:0.5:ylm(2));
if ylm(2) > 10
labels = cellstr(get(gca, 'YTickLabel'));
labels(2:2:end) = {''};
set(gca, 'YTickLabel', labels);
end
times = [time1632(:); time1633(:); time1634(:); time1635(:); time1636(:); time1637(:)];
set(gca, 'XLim', [min(times) max(times)]);
set(gca, 'Position', get(gca, 'Position').*[1 1 0.80 1]);
names = {'Chicago Cubs', 'Cincinnati Reds', 'Houston Astros', 'Milwaukee Brewers', 'Pittsburgh Pirates', 'St. Louis Cardinals' };
[C, IA, IC] = unique([data1632(end), data1633(end), data1634(end), data1635(end), data1636(end), data1637(end)]);
for idx = 1 : numel( C )
text( max(times) + 0.02*(max(times)-min(times)), C(idx), names(IC == idx) );
end
datetick('x','keeplimits')
data points
Created 08 May 2012 by Patrick Kalita
50 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 08 May 2012 by Patrick Kalita
41 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 08 May 2012 by Patrick Kalita
50 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 08 May 2012 by Patrick Kalita
35 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 08 May 2012 by Patrick Kalita
44 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 08 May 2012 by Patrick Kalita
34 views (30 days)
This trend is associated in this plot (though may not be used.)
0 comments