Since you are new, let us show you how Trendy works.

Close-button

Plot for Cumulative downloads of the Object Oriented Digital Clock for trailing 180 days

This plot is broken.

Error using set
Values must be monotonically increasing

  • Created by: James Kristoff
  • Latest result: Error using <a href="matlab:helpUtils.errorDocCallback('set')" style="font-weight:bold">set</a> Values must be monotonically increasing
  • Created on: 05 Apr 2012

Every data point in this plot represents the cumulative downloads of the Object Oriented Digital Clock from the MathWorks File Exchange over the 30 days prior to the data point.

This can be used to track how popular the entry is over time. The data from the most recent 180 days are being displayed.

Plot Image
% Cumulative downloads of the Object Oriented Digital Clock for trailing 30 days
%   time vector is: time1568
%   data vector is: data1568

if(length(time1568) >= 180)
  offset = 179;
else
  offset = length(time1568)-1;
end

time = time1568(end-offset:end);
data = data1568(end-offset:end);

%plot the data
h = plot(time, data, '-b');
xlabel('Date of data collection');
ylabel('30 Day Trailing Cumulative Downloads');

%set the y limits
ylim([0 70]);

%get the handle to the axes to set the x ticks
ha = get(h, 'Parent');
%if(mod(length(time),2))
  xTicks = unique([time(1):30:time(end), time(end)]);
%else
%  xTicks = [time(1):2:time(end)];
%end

set(ha, 'XTick', xTicks);
set(ha,'XGrid','on','YGrid','on');

%Format the dates on the x axis
datetick('x', 'mmm', 'keepticks');
%datetick('x', 2);
Tags:

    Add Tags


    0 comments