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

Close-button

National League West Standings

This plot is disabled.

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

Shows the standings in the MLB National League West in terms of games back.

Plot Image
color1638 = [167, 25, 48]/255;
color1639 = [51, 51, 102]/255;
color1640 = [8, 60, 107]/255;
color1641 = [0, 33, 71]/255;
color1642 = [242, 85, 44]/255;
commonstyle = struct( 'Marker', 'none', 'MarkerSize', 4, 'MarkerEdgeColor', 'w' );
line( time1638, data1638, 'Color', color1638, 'MarkerFaceColor', color1638, commonstyle );
line( time1639, data1639, 'Color', color1639, 'MarkerFaceColor', color1639, commonstyle );
line( time1640, data1640, 'Color', color1640, 'MarkerFaceColor', color1640, commonstyle );
line( time1641, data1641, 'Color', color1641, 'MarkerFaceColor', color1641, commonstyle );
line( time1642, data1642, 'Color', color1642, 'MarkerFaceColor', color1642, 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 = [time1638(:); time1639(:); time1640(:); time1641(:); time1642(:)];
set(gca, 'XLim', [min(times) max(times)]);
set(gca, 'Position', get(gca, 'Position').*[1 1 0.80 1]);

names = {'Arizona Diamondbacks', 'Colorado Rockies', 'Los Angeles Dodgers', 'San Diego Padres', 'San Francisco Giants' };
[C, IA, IC] = unique([data1638(end), data1639(end), data1640(end), data1641(end), data1642(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