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

Close-button

Boston Red Sox - 2012 Player Batting Averages

This plot is disabled.

Plot for all (major) player's batting averages for the 2012 Boston Red Sox. All data used in this trend is sourced from http://www.baseball-reference.com

I've added the team's overall batting average as the bold, red line.

Plot Image
% time1601 and data1601 available for use
% for Marlon Byrd - 2012 Batting Average
% 
% time1601 and data1601 available for use
% for Marlon Byrd - 2012 Batting Average
% 
% time1580 and data1580 available for use
% for Boston Red Sox - 2012 Team Batting Average
% 
% time1573 and data1573 available for use
% for Adrian Gonzalez - 2012 Batting Average
% 
% time1578 and data1578 available for use
% for Mike Aviles - 2012 Batting Average
% 
% time1575 and data1575 available for use
% for Jacoby Ellsbury - 2012 Batting Average
% 
% time1574 and data1574 available for use
% for Dustin Pedroia - 2012 Batting Average
% 
% time1577 and data1577 available for use
% for Jarrod Saltalamacchia - 2012 Batting Average
% 
% time1576 and data1576 available for use
% for Cody Ross - 2012 Batting Average
% 
% time1571 and data1571 available for use
% for Kevin Youkilis - 2012 Batting Average
% 
% time1572 and data1572 available for use
% for David Ortiz - 2012 Batting Average
% 
% Ryan Sweeney - 2012 Batting Average
%   time vector is: time1579
%   data vector is: data1579

hold all
plot(time1579,data1579,'-')
plot(time1572,data1572,'-')
plot(time1571,data1571,'-')
plot(time1576,data1576,'-')
plot(time1577,data1577,'-')
plot(time1574,data1574,'-')
plot(time1575,data1575,'-')
plot(time1578,data1578,'-')
plot(time1573,data1573,'-')
plot(time1601,data1601,'-')
plot(time1580,data1580,'-','LineWidth',3)
hold off

datetick
title('Red Sox - 2012 Batting Averages')
ylabel('Player Averages')

legend(... 
{'Sweeney','Ortiz','Youkilis','Ross','Salty','Pedroia','Ellsbury','Aviles','Gonzalez','Byrd','Team'},... 
'Location','NorthWest')
Tags:

Add Tags


0 comments