MATLAB Visualization : two channels with no same time distribution | MATLAB | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
MATLAB Visualization : two channels with no same time distribution
Avatar
picpic020960

Silver
Forum Posts: 7
sp_UserOfflineSmall Offline
1
December 18, 2015 - 8:19 am
sp_Permalink sp_Print

Bonjour ,
I have two devices so two channels

when plote data , one error that say datetime not synchro.

no date time merge between two data series

how to for merge ?

easy ?

thanks for help

Avatar
Adarsh_Murthy

Forum Posts: 59
sp_UserOfflineSmall Offline
2
December 18, 2015 - 11:38 am
sp_Permalink sp_Print

Hi,

When visualizing data from two channels with different time stamps, you can plot them individually with the hold command. For example, I am plotting data from two channels below:

% Read data from channel 9 and 12397
[data1, time1] = thingSpeakRead(12397, 'NumPoints', 20, 'Fields', [3,4]);
[data2, time2] = thingSpeakRead(9, 'NumPoints', 20);

% Plot data corresponding to channel 12397
plot(time1, data1);
% Hold the previous plot
hold;
% Plot data corresponding to channel 9
plot(time2, data2);

Avatar
picpic020960

Silver
Forum Posts: 7
sp_UserOfflineSmall Offline
3
December 19, 2015 - 7:03 am
sp_Permalink sp_Print sp_EditHistory

Thanks Man

work fine !
(with 'thingspeakplot' draw legend but with 'plot' good time stamp result)

edit : title , legend added ... too fun !

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

epicpaymentsny

DanielBobby

mercedeszw18

ujuxoketate

olihfez

winnieeq69

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee