Hi everyone,
I am trying to figure out how to adjust the graph by changing the interval of my X axis.
I made a timetable and both X and Y values have 17300 arrays, X-value being the time interval in 15 minutes of half year.
The graph came out well. However, i wish to adjust the X-axis into hourly interval.
Is there code that adjusts a graph according to a defined inteval of X-axis?
Using the graph as an exmaple that i have made:
it can be seen that the X-axis value goes up to 18000 (15-Min Interval measurements of a half year).
I wish to change X-axis go upto 4380 (hourly Interval measurement of a half year).
I appreciate for your advice and help.
JC
2 Comments
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/500077-how-to-change-interval-unit-of-x-axis#comment_785599
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/500077-how-to-change-interval-unit-of-x-axis#comment_785599
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/500077-how-to-change-interval-unit-of-x-axis#comment_785793
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/500077-how-to-change-interval-unit-of-x-axis#comment_785793
Sign in to comment.