[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
See also one of my Trendy about Cody: Top 50 Cody players
% 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);
badgebug = find(data1549==12);
data1549(badgebug ) =3;
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 :-)')
data points
Created 23 Mar 2012 by Aurelien Queffurust
82 views (30 days)
This trend is associated in this plot (though may not be used.)
3 comments
Yes I am in the big four !
Bien fait! See http://www.mathworks.com/matlabcentral/trendy/plots/917
If Cody was on the Olympic games , I would have had the bronze medal !