# Rank of AurĂ©lien QUEFFURUST (France) on CODY

[Updated 05-Dec-2012 - badges columns have appeared in Nov 2012]

Evolution of my rank from http://www.mathworks.com/matlabcentral/cody/players

The criteria chosen is Score (and not Solved , Created or Solutions)

In the following plot , I decided to reverse the direction of y values to highlight my rank progress

```% My rank in Cody
%   time vector is: time1549
%   data vector is: data1549

% second column is the total of players
totalp = data1549(end,2);
data1549 = data1549(:,1);
plot(time1549,data1549, 'ro-');

ylabel('rank')

datetick

y2 = max(data1549);
record = min(data1549);
ylim ([record-1 y2+1])

% using reverse to see the progression ;)
set(gca,'ygrid','on','ydir','reverse','fontweight','bold')
%% find record
index = find(data1549==record);
record_was = datestr(time1549(index),'dd mmm yyyy');
during = int2str(numel(record_was))

%% Update title
if num2str(data1549(end)) ==  num2str(record)
title([num2str(data1549(end)) ' rd on ' int2str(totalp)  ' players!!' 10,...
'since ' plusrecent])
else
pendant = datenum(record_was(end,:))-datenum(record_was(1,:))
title([num2str(data1549(end)) ' th place on ' int2str(totalp)  ' players!!' 10,...
'Record : ' num2str(record) ' from ' record_was(1,:) ' to ' record_was(end,:) ' (' num2str(pendant) ' days)'])

end
%
%%
xx = get(gca,'xlim');
yy = get(gca,'ylim');

text(mean(xx),mean(yy),'French Geek player :-)')```
Tags: