Show time in correct format in MATLAB view | MATLAB | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





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

sp_Feed sp_TopicIcon
Show time in correct format in MATLAB view
No permission to create posts
July 26, 2018
5:02 am
Avatar
fmarzocca

Silver
Members
Forum Posts: 9
Member Since:
July 24, 2018
sp_UserOfflineSmall Offline

Hi,
in my channel, timestamps are corectly shown in the 24H format (HH:MM). I made two MATLAB views from channel data, but the X axis (timestamps) is shown in the 12H format (HH:MM P/M). How can I make things consistent?

August 6, 2018
9:00 am
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 365
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

Can you consider using the dateaxs settings?
https://www.mathworks.com/help/finance/dateaxis.html

Here is an example that uses those settings:
https://www.mathworks.com/help/thingspeak/candle-plot-with-customized-date-axis.html

I don't thing you can apply it to a thingSpeakPlot, but it will work with other MATLAB plot types that you can use in ThingSpeak.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
32 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

Georgesic, BalladolbineAboth, Wayneamure, MattonAboth, ginatm2, Spreeuw

Administrators: Hans: 387, lee: 457