These are the top ten contributors to Answers that have less than 3000 points (once you get to 3000, you have all editing privileges).
% Top Players in Cody
% time vector is: time1756
% data vector is: data1756
t = time1756;
d = data1756;
v = [];
for i = 1:length(t)
for j = 1:(size(d,2)/2)
v(end+1,:) = [t(i) d(i,[2*j-1 2*j])];
end
end
namelist = { ...
434782,'Walter Roberson';
869888,'Jan Simon';
3208495,'Sean de Wolski';
35831,'Fangjun Jiang';
1343420,'Image Analyst';
2823630,'Andrei Bobrov';
1280935,'Kaustubha Govind';
688530,'Matt Fig';
1597503,'Wayne King';
1886545,'Oleg Komarov';
2021205,'Paulo Silva';
1798167,'Daniel';
1841757,'the cyclist';
631608,'Andrew Newell';
1455089,'Matt Tearle';
695467,'Titus Edelhofer';
1911196,'Binish';
3022333,'Arnaud Miege';
2542023,'Friedrich';
2299743,'TAB';
415894,'David Young';
2038935,'Chandra Kurniawan';
1297596,'Honglei Chen';
1905880,'Teja Muppirala';
646,'Andreas Goser';
1538946,'proecsm';
3169207,'Geoff';
1861624,'Grzegorz Knor';
1670,'per isakson';
1061251,'Rick Rosson';
756104,'James Tursa';
2440841,'Junaid';
1287414,'Edric Ellis';
869871,'Jiro Doke';
1248313,'Guy Rouleau';
3092678,'Elige Grant';
884449,'Jason Ross';
869436,'Doug Hull';
1415857,'Patrick Kalita';
2391181,'Aurelien Queffurust';
1326470,'Sven';
869215,'John D''Errico';
495579,'Jarrod Rivituso';
1251008,'Tom Lane';
1421875,'Chirag Gupta';
870621,'Richard Brown';
1668388,'Laura Proctor';
506242,'Robert Cumming';
1068471,'Ken Atwell';
2929937,'Greg Heath';
2872967,'Azzi Abdelmalek';
1440443,'Matt J';
};
nameHash = java.util.Hashtable;
for i = 1:size(namelist,1)
nameHash.put(namelist{i,1},namelist{i,2});
end
profids = d(end,1:2:end);
leaderNameList = {};
hold all
for i = 1:length(profids)
ix = v(:,2)==profids(i);
t1 = v(ix,1);
d1 = v(ix,3);
plot(t1,d1)
name = nameHash.get(profids(i));
if isempty(name)
name = 'UNKNOWN';
end
leaderNameList{end+1} = name;
end
hold off
datetick
legend(leaderNameList,'Location','EastOutside')
%% For making the name list
% url = 'http://www.mathworks.com/matlabcentral/answers/contributors';
% html = urlread(url);
% % /matlabcentral/answers/contributors/646-andreas-goser"><img alt="Andreas Goser"
% tk = regexp(html,'/matlabcentral/answers/contributors/(\d+)[^"]*?"><img alt="(.*?)"','tokens');
% fprintf('namelist = { ...\n');
% for i = 1:length(tk)
% fprintf(' %s,''%s'';\n',tk{i}{1},tk{i}{2});
% end
% fprintf('};\n');
data points
Created 12 Jul 2012 by Ned Gulley
126 views (30 days)
This trend is associated in this plot (though may not be used.)
0 comments