Since it's your first time here, let us show you how Trendy works.

Close-button

Rank & Downloads in the FEX

  • Created by: Jean-Yves Tinevez
  • Latest result: Plot created
  • Created on: 12 Mar 2012
  • Liked: 1 time

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...

Plot Image
% 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)
Tags:

Add Tags


0 comments