Change matlab visualization timezone

조회 수: 7 (최근 30일)
Pablo Untroib
Pablo Untroib 2020년 1월 12일
댓글: Frederic Lhoest 2022년 10월 28일
Where I monitor a fridge arduino control, used thingspeak visualizations for temp and humidity, and started experimenting with matlab visualizations, managed to combine both readings and adjusted their scales according to my needs, but I cant change the timezone, even after adding the proper timezone to each plot like this: t.TimeZone = '-3:00'
% Visualize Data
yyaxis left
plot(timeStamps, temperatureData);
ylabel('Temperatura');
ylim([-5 45])
t.TimeZone = '-3:00'
yyaxis right
plot(timeStamps, humedadData);
ylabel('Humedad');
ylim([1 100])
t.TimeZone = '-3:00'
How can I make it to show local time? I'm Argentina, UTC-3
Thanks
  댓글 수: 2
Frederic Lhoest
Frederic Lhoest 2022년 10월 28일
Hi Pablo,
I have the same issue as you ! I'm less impacted since I'm UTC+2 but still ...
Have you found a solution to your issue ?
Thanks.
Frederic Lhoest
Frederic Lhoest 2022년 10월 28일
I've seen in another post that you can simply set your correct timezone in your community profile and ... yes it works perfectly.
I guess it will work as well on your side ;)

댓글을 달려면 로그인하십시오.

채택된 답변

Vinod
Vinod 2020년 1월 13일
If you log in to ThingSpeak and set your timezone on this page (remember to edit and save it), then the MATLAB visualizations will be in your timezone without you needing to explicitly change the timezone in your code.

추가 답변 (1개)

Pablo Untroib
Pablo Untroib 2020년 1월 13일
That did it! Thanks a lot...!

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 Read Data from Channel에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by