The Trendy application is being retired in the new year. The new web application, ThingSpeak, offers similar functionality. We recommend that active Trendy users who are looking to create new trends use ThingSpeak. To begin collecting your data in ThingSpeak, please read the tutorial : ThingSpeak for Trendy users. Although Trendy no longer allows the creation of new trends, the application will still remain accessible until January 13, 2016. Until that date, you can view your current trends and download your data. After that date, your data will no longer be accessible. Thanks for using Trendy and we encourage you to check out ThingSpeak.

Close-button

Nation debt per person, Canada vs USA

Same as Rob Nickerson's version, but using plotyy.

Plot Image
% time1218 and data1218 available for use
% for My share of the National Debt
% 
idx = data1218==0;
time1218(idx) = [];
data1218(idx) = [];
idx = data1219==0;
time1219(idx) = [];
data1219(idx) = [];


[ax,h1,h2] = plotyy(time1218,data1218,time1219,data1219);
datetick(ax(1),'x')
set(ax(2),'XTick',[])
set(h1,'marker','o')
set(h2,'marker','o')
title('National Debt Per Person - US v. Canada')
ylabel('Dollar Amount')
legend({'United States', 'Canada'},...
'Location','West')
Tags:

    Add Tags


    0 comments