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

Hourly Seismicity DATA - SOURCE : USGS

This trend is broken.

Your code has an error or you are requesting a feature that is not yet available.

158

data points

Error

Description:

#Collects the Real time Hourly Seismicity Data - SOURCE : USGS Collects the Real time daily Seismicity Data - SOURCE : USGS

Recently Collected Data (last 5 of 158) Show All Data

Time Recorded (time2057) Data (data2057)
12 Feb 2014 05:07:37 NaN
11 Feb 2014 05:02:11 [177]
10 Feb 2014 05:02:09 [208]
09 Feb 2014 05:02:01 [209]
08 Feb 2014 05:02:00 [188]
% Example code added - Retrieve answer count on MATLAB Answers

% url = 'http://www.mathworks.com/matlabcentral/answers';
%count = urlfilter(url, 'Refine by Status');
% updatetrend(count);

% -------------------------
% import, prepare and PLOT data

url = 'http://earthquake.usgs.gov/earthquakes/feed/csv/all/day';
%url_hr='http://earthquake.usgs.gov/earthquakes/feed/csv/all/hour'
%block_hr = urlread(url_hr);
block_hr = urlread(url);

fmt_hr = '%s %s %s %s %s %s %s %s %s %s %s %s %s';
readData_hr = textscan(block_hr, fmt_hr, 'delimiter', ',')


% -------------------------
% count

T_hr = size(readData_hr{1},1);
updatetrend(T_hr);
x_data=char(readData_hr{2});
y_data=char(readData_hr{3});

x_data=str2num(x_data(2:end,:));
y_data=str2num(y_data(2:end,:));
Tags:

    Add Tags


    3 comments