graph axes and its scaling
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi
I am trying to have hourly heat transfer graph for three months but in the graph as has been attached the x axes shows every 500 hours
How can I change it two evey day or week...
댓글 수: 0
답변 (1개)
dpb
2020년 5월 22일
If you haven't, turn your time vector into datetime (if it is actual calendar time) or a duration (if it is elapsed time from some origin) and plot versus it instead. plot has been extended to be aware of those time class objects and will use an appropriate axis automagically for you...which you can then adjust to taste...
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Object Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!