Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
用 x 轴绘制表示从星期一到星期日的天数。到目前为止,我在图中的标签从 1 到 7。如何将它们替换为字符串?
解决了:
set(gca,'XTickLabel'{'Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'});