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

Close-button

Plot for Telescopes for sale in Boston, SFO, Dallas (sourced from Craigslist)

  • Created by: Muthu Annamalai
  • Latest result: Plot created
  • Created on: 19 Oct 2012

Included from trend description:

Telescopes for sale in last one week in Boston, SFO, Dallas, sourced from Craigslist.

Plot Image
% time1840 and data1840 available for use
% for Telescopes for sale in Dallas area (sourced from Craigslist)
% 
% time1841 and data1841 available for use
% for Telescopes for sale in San Francisco Bay area (sourced from Craigslist)
% 
% Telescopes for sale in last one week from Craigslist
%   time vector is: time1838
%   data vector is: data1838
subplot(2,1,1)
positive = @(x) (x.*( x > 0));
stem(time1838,[positive(diff([data1838(1); data1838]))],'-or');
hold on
stem(time1840,positive(diff([data1840(1); data1840])),'-og');
hold on
stem(time1841,positive(diff([data1841(1); data1841])),'-ob');
axis([min(time1838),max(time1838),0,20])
%time1840,data1840,'-g'
%time1838,data1838,'-r'
%time1841, data1841,'-b'

legend({'Boston','Dallas','SFO'},'Location','NorthWest')
title('Telescopes posted for sale today')
datetick

subplot(2,1,2)
plot(time1838,data1838,'-or',time1840,data1840,'-og',time1841,data1841,'-ob')
legend({'Boston','Dallas','SFO'},'Location','NorthWest')
title('Telescopes for sale (7-day sliding window)')
datetick
Tags:

    Add Tags


    0 comments