color1622 = [183, 18, 52]/255;
color1623 = [0, 56, 49]/255;
color1624 = [0, 92, 92]/255;
color1625 = [0, 50, 121]/255;
commonstyle = struct( 'Marker', 'none', 'MarkerSize', 4, 'MarkerEdgeColor', 'w' );
line( time1622, data1622, 'Color', color1622, 'MarkerFaceColor', color1622, commonstyle );
line( time1623, data1623, 'Color', color1623, 'MarkerFaceColor', color1623, commonstyle );
line( time1624, data1624, 'Color', color1624, 'MarkerFaceColor', color1624, commonstyle );
line( time1625, data1625, 'Color', color1625, 'MarkerFaceColor', color1625, 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 = [time1622(:); time1623(:); time1624(:); time1625(:)];
set(gca, 'XLim', [min(times) max(times)]);
set(gca, 'Position', get(gca, 'Position').*[1 1 0.80 1]);
names = {'Los Angeles Angels', 'Oakland Athletics', 'Seattle Mariners', 'Texas Rangers' };
[C, IA, IC] = unique([data1622(end), data1623(end), data1624(end), data1625(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 02 May 2012 by Patrick Kalita
48 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 02 May 2012 by Patrick Kalita
65 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 02 May 2012 by Patrick Kalita
45 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 02 May 2012 by Patrick Kalita
62 views (30 days)
This trend is associated in this plot (though may not be used.)
0 comments