formatting x-axis | MATLAB IoT Analytics | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

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
formatting x-axis
No permission to create posts
August 9, 2019
1:30 pm

Forum Posts: 19
Member Since:
March 13, 2019
sp_UserOfflineSmall Offline

searched a lot but I didn't manage to get it right:

I'm using plot to draw the graphs.
The x-axis is formatted automatically.

Unfortunately only three labels are displayed (three months).
As there's a lot of space inbetween those, I'd like to display a bit more, e.g. 1st of month, 14th of month or similar.

But how can I do that?

August 21, 2019
11:12 am

Forum Posts: 885
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

try using something similar to these:
xlim(datetime(2014,[7 8],[12 23]))

More helpful hints here:

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

kusmumichael, petersmith99, Rambant, blakeharriss09, optisol, Niyonzima Fils

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457