This Trend keeps track of my rank & downloads in the file exchange. It should be easy to tune it for your own rank. The goal is to see the correlation with submissions, 30-days of moving average, etc...
% time1516 and data1516 available for use
% for My downloads in the FEX
%
% Rank in the FEX
% time vector is: time1515
% data vector is: data1515
% Downloads in the FEX
% time vector is: time1516
% data vector is: data1516
%
% Trying to comply to Edward Tufte!
set(gcf, 'Color', 'w')
ax1 = subplot(211);
plot(ax1, time1515,data1515, 'k-', 'MarkerSize', 10);
set(ax1, 'TickDir', 'out')
yt = get(ax1, 'YTick');
yt(1) = min(data1515);
yt(end) = max(data1515);
set(ax1, 'YTick', yt, 'XColor', 'w')
yh = ylabel('Rank');
set(yh, 'Rotation', 0, 'HorizontalAlignment', 'right')
xlabel('')
box off
ax2 = subplot(212);
plot(ax2, time1516, data1516, 'k-', 'MarkerSize', 10);
set(gca, 'TickDir', 'out')
yt = get(ax2, 'YTick');
yt(1) = min(data1516);
yt(end) = max(data1516);
set(ax2, 'YTick', yt)
yh = ylabel({'Downloads' '(last 30 days)' });
set(yh, 'Rotation', 0, 'HorizontalAlignment', 'right')
xlabel('Date')
box off
datetick
xl = get(ax2, 'XLim');
set(ax1, 'XLim', xl)
data points
Created 12 Mar 2012 by Jean-Yves Tinevez
61 views (30 days)
This trend is associated in this plot (though may not be used.)
data points
Created 12 Mar 2012 by Jean-Yves Tinevez
62 views (30 days)
This trend is associated in this plot (though may not be used.)
0 comments