Since you are new, let us show you how Trendy works.

Close-button

American League West Standings

This plot is disabled.

  • Created by: Patrick Kalita
  • Latest result: Plot image updated (06 Nov 2012)
  • Created on: 02 May 2012

Plot Image
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')
Tags:

Add Tags


0 comments